MCPcopy Create free account
hub / github.com/OpenGVLab/HumanBench / backward

Method backward

PATH/core/fp16/scaler.py:65–67  ·  view source on GitHub ↗
(self, loss)

Source from the content-addressed store, hash-verified

63 return should_skip
64
65 def backward(self, loss):
66 scaled_loss = loss*self.loss_scale
67 scaled_loss.backward()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected