Set the initial step.
(self, init_step: int)
| 109 | self.use_dynamic_rate = use_dynamic_rate |
| 110 | |
| 111 | def set_init_step(self, init_step: int): |
| 112 | """Set the initial step.""" |
| 113 | self._step = init_step |
| 114 | |
| 115 | def zero_grad(self, set_to_none: bool = False): |
| 116 | """Zero the gradient buffer.""" |