(self, step, num_steps, learning_rate,
                         report_stats)
return report_stats
See base class method `ReportMgrBase.report_training`.
See base class method `ReportMgrBase.report_training`.
See base class method ReportMgrBase . report_training .
def _report_training(self, step, num_steps, learning_rate,
                         report_stats):
        """
        See base class method `ReportMgrBase.report_training`.
        """
        report_stats.output(step, num_steps,
                            learning_rate, self.start_time)

        # Log the progress using the number of batches on the x-axis.
        self.maybe_log_tensorboard(report_stats,
                                   "progress",
                                   learning_rate,
                                   self.progress_step)
        report_stats = onmt.utils.Statistics()

        return report_stats
def _report_training ( self , step , num_steps , learning_rate , report_stats ) : report_stats . output ( step , num_steps , learning_rate , self . start_time ) # Log the progress using the number of batches on the x-axis. self . maybe_log_tensorboard ( report_stats , "progress" , learning_rate , self . progress_step ) report_stats = onmt . utils . Statistics ( ) return report_stats