    def log(self, stats, tag=None, step=None):
        """Log intermediate stats according to log_interval."""
        pass
Log intermediate stats according to log_interval.
fairseq/logging/progress_bar.py