class_docstr: Unit test class for an already trained model.
class_docstr_tok: ["Unit","test","class","for","an","already","trained","model","."]
docstr: Ensure that model saving and loading retains all model information.
docstr_tok: ["Ensure","that","model","saving","and","loading","retains","all","model","information","."]
code: def test_save_and_load(self):
      """
      Ensure that model saving and loading retains all model information.
      """
  
      with test_util.TempDirectory() as f:
          self.model.save(f)
          self.model = tc.load_model(f)
          loaded_model = tc.load_model(f)
  
          self.test__list_fields()
          print("Saved model list fields passed")
  
          self.test_get()
          print("Saved model get passed")
  
          self.test_summaries()
          print("Saved model summaries passed")
  
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  import unittest
  import tempfile
  import turicreate
  from turicreate.toolkits._main import ToolkitError
  from turicreate.toolkits._internal_utils import _mac_ver
  from .None import util
  import sys
label_desc: Use image node_id 9 for calling the TextClassifierTest obj's underlying member method code with example usage: obj.test_save_and_load() without return types