def __init__(self,
                 config: dict,
                 ):
        """
        Args:
            config: the 'learning_config' part in YAML config file
        """
        # Configurations
        super(BaseTrainer, self).__init__(config)
        # Steps and Epochs start from 0
        self.steps = 0 # Step must be int64 to use tf.summary
        self.epochs = 0
        self.train_steps_per_epoch = config['train_steps_per_batches']
        self.eval_steps_per_epoch = config['eval_steps_per_batches']
        # Dataset
        self.train_data_loader = None
        self.eval_data_loader = None
        self.total_train_steps=None
        self.model=None
        self.set_train_metrics()
        self.set_eval_metrics()
        self.max_to_keep=10

        Args:
            config: the 'learning_config' part in YAML config file
        
asr/trainer/base_runners.py