def epoch_info(self, training_info: TrainingInfo, global_idx: int, local_idx: int) -> EpochInfo:
return EpochInfo(<EOL>training_info=training_info,<EOL>global_epoch_idx=global_idx,<EOL>local_epoch_idx=local_idx,<EOL>batches_per_epoch=self._source.train_iterations_per_epoch(),<EOL>optimizer=self._optimizer_instance<EOL>)<EOL>
Create Epoch info