MCPcopy Create free account
hub / github.com/ddbourgin/numpy-ml / reset_step

Method reset_step

numpy_ml/neural_nets/optimizers/optimizers.py:29–31  ·  view source on GitHub ↗

Reset the step counter to zero

(self)

Source from the content-addressed store, hash-verified

27 self.cur_step += 1
28
29 def reset_step(self):
30 """Reset the step counter to zero"""
31 self.cur_step = 0
32
33 def copy(self):
34 """Return a copy of the optimizer object"""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected