(self, epoch)
| 34 | return range(self.first_epoch, self.total_epochs + 1) |
| 35 | |
| 36 | def record_epoch_start(self, epoch): |
| 37 | self.epoch_start_time = time.time() |
| 38 | self.epoch_iter = 0 |
| 39 | self.last_iter_time = time.time() |
| 40 | self.current_epoch = epoch |
| 41 | |
| 42 | def record_one_iteration(self): |
| 43 | current_time = time.time() |