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

Method step

numpy_ml/neural_nets/optimizers/optimizers.py:25–27  ·  view source on GitHub ↗

Increment the optimizer step counter by 1

(self)

Source from the content-addressed store, hash-verified

23 return self.update(param, param_grad, param_name, cur_loss)
24
25 def step(self):
26 """Increment the optimizer step counter by 1"""
27 self.cur_step += 1
28
29 def reset_step(self):
30 """Reset the step counter to zero"""

Callers 9

updateMethod · 0.80
updateMethod · 0.80
_episodeMethod · 0.80
_episodeMethod · 0.80
greedy_policyMethod · 0.80
_episodeMethod · 0.80
greedy_policyMethod · 0.80
_episodeMethod · 0.80
greedy_policyMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected