code: def get_trainer_class(trainer_class=Trainer):
      """Gin configurable function get a 'global' trainer for use in ddsp_run.py.
  
      Args:
        trainer_class: A trainer class such as `Trainer`.
  
      Returns:
        The 'global' trainer class specifieed in the gin config.
      """
      return trainer_class
  
file_path: ddsp/ddsp/training/trainers.py
imports: import time
  from absl import logging
  from ddsp.training import train_util
  import gin
  import tensorflow.compat.v2
label_desc: Use image node_id 1 for calling a global function with example usage: get_trainer_class(trainer_class) and returns: trainer_class