class_docstr: Functionality for deploying a model to a filename
docstr: Model Saver
  WHAT: Saves a trained model so it can be loaded later
  for predictions by predictor().
code: def save_model_as(self):
      """Model Saver
      WHAT: Saves a trained model so it can be loaded later
      for predictions by predictor().
      """
  
      model_json = self.model.to_json()
      with open(self.path + "_model.json", "w") as json_file:
          json_file.write(model_json)
  
      self.model.save_weights(self.path + "_model.h5")
      print(
          "Deploy package"
          + " "
          + self.model_name
          + " "
          + "have been saved."
      )
  
file_path: talos/talos/commands/deploy.py
label_desc: Use image node_id 2 for calling the Deploy obj's underlying member method code with example usage: obj.save_model_as() without return types