docstr: Save the model to local file.
  
  :param path: Path to saved model. Path should be a directory.
docstr_tok: ["Save","the","model","to","local","file",".",":","param","path",":","Path","to","saved","model",".","Path","should","be","a","directory","."]
code: def _save(self, path, compression="fp32"):
      """
      Save the model to local file.
  
      :param path: Path to saved model. Path should be a directory.
      """
      path = Path(path)
      Path.mkdir(path, exist_ok=True)
      self._save_model(path, compression=compression)
      self._dump_status(path)
  
file_path: BigDL/python/nano/src/bigdl/nano/utils/common/model.py
imports: from abc import ABC
  import yaml
  from pathlib import Path
  from bigdl.nano.utils.common import invalidInputError
label_desc: Use image node_id 9 for calling the AcceleratedModel obj's underlying member method code with example usage: obj._save(path, compression) without return types