(self, step, num_steps, learning_rate,
                               report_stats)
Simple function to report training stats (if report_manager is set)
        see `onmt.utils.ReportManagerBase.report_training` for doc
Simple function to report training stats (if report_manager is set)
        see `onmt.utils.ReportManagerBase.report_training` for doc
Simple function to report training stats ( if report_manager is set ) see onmt . utils . ReportManagerBase . report_training for doc
def _maybe_report_training(self, step, num_steps, learning_rate,
                               report_stats):
        """
        Simple function to report training stats (if report_manager is set)
        see `onmt.utils.ReportManagerBase.report_training` for doc
        """
        if self.report_manager is not None:
            return self.report_manager.report_training(
                step, num_steps, learning_rate, report_stats,
                multigpu=self.n_gpu > 1)
def _maybe_report_training ( self , step , num_steps , learning_rate , report_stats ) : if self . report_manager is not None : return self . report_manager . report_training ( step , num_steps , learning_rate , report_stats , multigpu = self . n_gpu > 1 )