(self, optimizer, learning_rate: float, total_epochs: int)
| 1 | class StepLR: |
| 2 | def __init__(self, optimizer, learning_rate: float, total_epochs: int): |
| 3 | self.optimizer = optimizer |
| 4 | self.total_epochs = total_epochs |
| 5 | self.base = learning_rate |
| 6 | |
| 7 | def __call__(self, epoch): |
| 8 | if epoch < self.total_epochs * 3/10: |
nothing calls this directly
no outgoing calls
no test coverage detected