MCPcopy Create free account
hub / github.com/OpenBitSys/BitDistiller / mse_loss

Method mse_loss

train/mytrainer.py:123–124  ·  view source on GitHub ↗
(self, student_logits, teacher_logits)

Source from the content-addressed store, hash-verified

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():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected