def from_file(filepath: str):
        """
        Load training trace from the given ``filepath``.

        :param filepath: training trace file path
        :return: training trace
        """
        trace = TrainingTrace()
        trace._trace = load_config(filepath)
        return trace
Load training trace from the given ``filepath``.

        :param filepath: training trace file path
        :return: training trace