docstr: Save the model to a single HDF5 file.
  
  :param path: String. The path to save the model.
  :param overwrite: Boolean. Whether to silently overwrite any existing file at the target
          location
docstr_tok: ["Save","the","model","to","a","single","HDF5","file",".",":","param","path",":","String",".","The","path","to","save","the","model",".",":","param","overwrite",":","Boolean",".","Whether","to","silently","overwrite","any","existing","file","at","the","target","location"]
code: def save_model(self, path, overwrite=True):
      """
      Save the model to a single HDF5 file.
  
      :param path: String. The path to save the model.
      :param overwrite: Boolean. Whether to silently overwrite any existing file at the target
              location
      """
  
      self.model.save(path, overwrite=overwrite)
  
imports: import numpy
  from bigdl.optim.optimizer import MaxEpoch
  from zoo.tfpark.utils import evaluate_string_metrics
  from zoo.common import enable_multi_fs_save, enable_multi_fs_load
  from zoo.common.nncontext import getOrCreateSparkContext
  from zoo.tfpark.tf_dataset import TFNdarrayDataset, TFDataset, _standarize_feature_label_dataset, check_data_compatible
  from zoo.tfpark.tf_optimizer import TFOptimizer
  from zoo.tfpark.tf_predictor import TFPredictor
label_desc: Use image node_id 8 for calling the KerasModel obj's underlying member method code with example usage: obj.save_model(path, overwrite) without return types