(self, student_logits, teacher_logits)
| 121 | return tsld_loss |
| 122 | |
| 123 | def mse_loss(self, student_logits, teacher_logits): |
| 124 | return mse_loss(student_logits, teacher_logits) |
| 125 | |
| 126 | def compute_loss(self, model, inputs, return_outputs=False): |
| 127 | with torch.no_grad(): |
nothing calls this directly
no outgoing calls
no test coverage detected