parameters: (self)
return_statement: return state
docstring: Save the model as a dictionary, which can be loaded with the
          :py:func:`~turicreate.load_model` method.
docstring_summary: Save the model as a dictionary, which can be loaded with the
          :py:func:`~turicreate.load_model` method.
docstring_tokens: Save the model as a dictionary which can be loaded with the : py : func : ~turicreate . load_model method .
function: def _get_native_state(self):
          """
          Save the model as a dictionary, which can be loaded with the
          :py:func:`~turicreate.load_model` method.
          """
          state = self.__proxy__.get_state()
  
          del state["_feature_extractor"]
  
          state["_custom_classifier"] = state["_custom_classifier"].get_weights()
  
          return state
function_tokens: def _get_native_state ( self ) : state = self . __proxy__ . get_state ( ) del state [ "_feature_extractor" ] state [ "_custom_classifier" ] = state [ "_custom_classifier" ] . get_weights ( ) return state