code: def load_ts_pipeline(file):
      model = TimeSequenceModel()
      model.restore(file)
      print("Restore pipeline from", file)
      return TimeSequencePipeline(model)
  
file_path: BigDL/python/chronos/src/bigdl/chronos/autots/deprecated/pipeline/time_sequence.py
imports: import os
  import time
  from bigdl.chronos.autots.deprecated.feature.utils import save_config
  from bigdl.chronos.autots.deprecated.pipeline.base import Pipeline
  from bigdl.chronos.autots.deprecated.model.time_sequence import TimeSequenceModel
  from bigdl.chronos.autots.deprecated.pipeline.parameters import DEFAULT_CONFIG_DIR, DEFAULT_PPL_DIR
  from bigdl.chronos.utils import deprecated
label_desc: Use image node_id 1 for calling a global function with example usage: load_ts_pipeline(file) and returns: TimeSequencePipeline