def METHOD_NAME(self, batch_idx: int):
    stats = self.learner.train(self.batcher.training_batches[batch_idx])
    self.training_iteration_since_resume += 1
    self.training_batch_released.emit(batch_idx, self.training_iteration_since_resume)
    self.finished_training_iteration.emit(self.training_iteration_since_resume)
    if stats is not None:
        self.report_msg.emit(stats)