(self, epoch)
| 22 | self.decay_start_epoch = decay_start_epoch |
| 23 | |
| 24 | def step(self, epoch): |
| 25 | return 1.0 - max(0, epoch + self.offset - self.decay_start_epoch) / (self.n_epochs - self.decay_start_epoch) |
| 26 | |
| 27 | |
| 28 | ############################## |
no outgoing calls
no test coverage detected