code: def test_save_load(self):
      import tempfile
  
      horizon = np.random.randint(1, 6)
      tsp = AutoTSTrainer(
          dt_col="datetime",
          target_col="value",
          horizon=horizon,
          extra_features_col=None,
      )
      pipeline = tsp.fit(
          self.train_df,
          self.validation_df,
      )
      assert isinstance(pipeline, TSPipeline)
      # save & restore the pipeline
      with tempfile.TemporaryDirectory() as tempdirname:
          my_ppl_file_path = pipeline.save(
              tempdirname + "saved_pipeline/nyc_taxi.ppl"
          )
          loaded_ppl = TSPipeline.load(my_ppl_file_path)
      loaded_ppl.evaluate(self.validation_df)
      predict_df = loaded_ppl.predict(self.validation_df)
      assert not predict_df.empty
  
file_path: analytics-zoo/pyzoo/test/zoo/chronos/autots/deprecated/test_auto_ts.py
imports: import pytest
  import numpy
  from test.zoo.pipeline.utils.test_utils import ZooTestCase
  from zoo.chronos.autots.deprecated.config.recipe import LSTMGridRandomRecipe, MTNetGridRandomRecipe
  from zoo.chronos.autots.deprecated.forecast import AutoTSTrainer
  from zoo.chronos.autots.deprecated.forecast import TSPipeline
  import pandas
label_desc: Use image node_id 7 for calling the TestChronosAutoTS obj's underlying member method code with example usage: obj.test_save_load() without return types