MCPcopy Create free account
hub / github.com/MoonInTheRiver/DiffSinger / on_before_zero_grad

Method on_before_zero_grad

tasks/base_task.py:331–332  ·  view source on GitHub ↗
(self, optimizer)

Source from the content-addressed store, hash-verified

329 pass
330
331 def on_before_zero_grad(self, optimizer):
332 pass
333
334 def on_after_backward(self):
335 pass

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected