class_docstr: Example:
      >>> #The dataset is split into x_train, x_val, x_test, y_train, y_val, y_test
      >>> model = MTNetForecaster(target_dim=1,
                                  feature_dim=x_train.shape[-1],
                                  long_series_num=6,
                                  series_length=2
                                  )
      >>> model.fit(data=(x_train, y_train),
                    validation_data=(x_val, y_val),
                    epochs=2,
                    batch_size=32)
      >>> model.predict(x_test, batch_size=batch_size)
class_docstr_tok: ["Example",":",">",">",">","#","The","dataset","is","split","into","x_train",",","x_val",",","x_test",",","y_train",",","y_val",",","y_test",">",">",">","model","=","MTNetForecaster","(","target_dim=1",",","feature_dim=x_train.shape","[","-1","]",",","long_series_num=6",",","series_length=2",")",">",">",">","model.fit","(","data=","(","x_train",",","y_train",")",",","validation_data=","(","x_val",",","y_val",")",",","epochs=2",",","batch_size=32",")",">",">",">","model.predict","(","x_test",",","batch_size=batch_size",")"]
docstr: Save the forecaster.
  
  :param checkpoint_file: The location you want to save the forecaster.
docstr_tok: ["Save","the","forecaster",".",":","param","checkpoint_file",":","The","location","you","want","to","save","the","forecaster","."]
code: def save(self, checkpoint_file):
      """
      Save the forecaster.
  
      :param checkpoint_file: The location you want to save the forecaster.
      """
      from bigdl.nano.utils.common import invalidInputError
  
      if not self.fitted:
          invalidInputError(
              False,
              "You must call fit or restore first before calling save!",
          )
      self.internal.save(checkpoint_file=checkpoint_file)
  
file_path: BigDL/python/chronos/src/bigdl/chronos/forecaster/tf/mtnet_forecaster.py
imports: from bigdl.chronos.model.tf2.MTNet_keras import MTNetKeras
  from bigdl.chronos.forecaster.abstract import Forecaster
  from bigdl.chronos.metric.forecast_metrics import Evaluator
label_desc: Use image node_id 5 for calling the MTNetForecaster obj's underlying member method code with example usage: obj.save(checkpoint_file) without return types