Increment the optimizer step counter by 1
(self)
| 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""" |
no outgoing calls
no test coverage detected