class_docstr: Abstract class for models.
  
  Implements default session checkpoint restore methods.
docstr: Closes the TF session.
docstr_tok: ["Closes","the","TF","session","."]
code: def close(self):
      """Closes the TF session."""
      self._session.close()
      self._session = None
  
file_path: magenta/magenta/models/shared/model.py
imports: import abc
  import tensorflow.compat.v1
label_desc: Use image node_id 6 for calling the BaseModel obj's underlying member method code with example usage: obj.close() without return types