MCPcopy Create free account
hub / github.com/Meshcapade/difflocks / __init__

Method __init__

callbacks/state_callback.py:8–9  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

6class StateCallback(Callback):
7
8 def __init__(self):
9 pass
10
11 def after_forward_pass(self, phase, loss, loss_pos, loss_dir, loss_curv, **kwargs):
12 phase.iter_nr+=1

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected