Updates the step count.
(self)
| 149 | return 0. if epoch < 0 else min(self.max_value, max(self.min_value, value)) |
| 150 | |
| 151 | def step(self): |
| 152 | """Updates the step count.""" |
| 153 | self.last_epoch += 1 |
| 154 | |
| 155 | |
| 156 | class InverseLR(optim.lr_scheduler._LRScheduler): |