class_docstr: An trained model that is ready to use for similarity. This model should not
  be constructed directly.
class_docstr_tok: ["An","trained","model","that","is","ready","to","use","for","similarity",".","This","model","should","not","be","constructed","directly","."]
docstr: Save the model as a directory, which can be loaded with the
  :py:func:`~turicreate.load_model` method.
  
  Parameters
  ----------
  pickler : GLPickler
      An opened GLPickle archive (Do not close the archive).
  
  See Also
  --------
  turicreate.load_model
  
  Examples
  --------
  >>> model.save('my_model_file')
  >>> loaded_model = turicreate.load_model('my_model_file')
docstr_tok: ["Save","the","model","as","a","directory",",","which","can","be","loaded","with","the",":","py",":","func",":","`","~turicreate.load_model","`","method",".","Parameters","--","--","--","--","--","pickler",":","GLPickler","An","opened","GLPickle","archive","(","Do","not","close","the","archive",")",".","See","Also","--","--","--","--","turicreate.load_model","Examples","--","--","--","--",">",">",">","model.save","(","'my_model_file","'",")",">",">",">","loaded_model","=","turicreate.load_model","(","'my_model_file","'",")"]
code: def _get_native_state(self):
      """
      Save the model as a directory, which can be loaded with the
      :py:func:`~turicreate.load_model` method.
  
      Parameters
      ----------
      pickler : GLPickler
          An opened GLPickle archive (Do not close the archive).
  
      See Also
      --------
      turicreate.load_model
  
      Examples
      --------
      >>> model.save('my_model_file')
      >>> loaded_model = turicreate.load_model('my_model_file')
      """
      state = self.__proxy__.get_state()
      state["similarity_model"] = state["similarity_model"].__proxy__
      del state["feature_extractor"]
      return state
  
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  import time
  import turicreate
  from turicreate.toolkits._model import CustomModel
  import turicreate.toolkits._internal_utils
  from turicreate.toolkits._main import ToolkitError
  from turicreate.toolkits._model import PythonProxy
  from .._internal_utils import _mac_ver
  from ..None import _pre_trained_models
  from ..None import _image_feature_extractor
  from ..image_analysis import image_analysis
label_desc: Use image node_id 4 for calling the ImageSimilarityModel obj's underlying member method code with example usage: obj._get_native_state() and returns: state