code: def from_file(filepath: str):
          
          trace = TrainingTrace()
          trace._trace = load_config(filepath)
          return trace
docs: Load training trace from the given ``filepath``.
  
          :param filepath: training trace file path
          :return: training trace