docstr: restore the best model.
  
  :param checkpoint_path: The checkpoint location you want to load the best model.
docstr_tok: ["restore","the","best","model",".",":","param","checkpoint_path",":","The","checkpoint","location","you","want","to","load","the","best","model","."]
code: def load(self, checkpoint_path):
      """
      restore the best model.
  
      :param checkpoint_path: The checkpoint location you want to load the best model.
      """
      model_path = os.path.join(checkpoint_path, DEFAULT_BEST_MODEL_DIR)
      best_config_path = os.path.join(
          checkpoint_path, DEFAULT_BEST_CONFIG_DIR
      )
      self.best_model.restore(model_path)
      with open(best_config_path, "r") as f:
          self.best_config = json.load(f)
  
file_path: analytics-zoo/pyzoo/zoo/chronos/autots/model/base_automodel.py
imports: import os
  import json
label_desc: Use image node_id 8 for calling the BasePytorchAutomodel obj's underlying member method code with example usage: obj.load(checkpoint_path) without return types