    def update_config(self, config):
        """Log latest configuration."""
        # TODO add hparams to Tensorboard
        self.wrapped_bar.update_config(config)
Log latest configuration.
fairseq/logging/progress_bar.py