(self, optimizer, step_size, gamma=0.1, last_epoch=-1)
| 413 | """ |
| 414 | |
| 415 | def __init__(self, optimizer, step_size, gamma=0.1, last_epoch=-1): |
| 416 | self.step_size = step_size |
| 417 | self.gamma = gamma |
| 418 | super(StepLR, self).__init__(optimizer, last_epoch) |
| 419 | |
| 420 | def get_lr(self): |
| 421 | if not self._get_lr_called_within_step: |