class_docstr: Save data to a file, or load data from a file.
class_docstr_tok: ["Save","data","to","a","file",",","or","load","data","from","a","file","."]
docstr: Save the data to a given path. The path might be suffixed with :attr:`suffix`.
docstr_tok: ["Save","the","data","to","a","given","path",".","The","path","might","be","suffixed","with",":","attr",":","`","suffix","`","."]
code: def save(self, data: Any, path: Path):
      """Save the data to a given path. The path might be suffixed with :attr:`suffix`."""
      raise NotImplementedError()
  
file_path: nni/nni/nas/utils/serializer.py
imports: from __future__ import annotations
  import logging
  from pathlib import Path
  from typing import Any, ClassVar, Type, cast
label_desc: Use image node_id 1 for calling the Serializer obj's underlying member method code with example usage: obj.save(data, path) without return types