code: def test_valid_from_proto(self):
      save_dir = os.path.join(self.get_temp_dir(), "from_proto_model")
      save.save(self._create_model_with_data(), save_dir)
      fingerprint_def = fingerprint_pb2.FingerprintDef().FromString(
          fingerprinting_pywrap.ReadSavedModelFingerprint(save_dir)
      )
      fingerprint = fingerprinting.Fingerprint.from_proto(
          fingerprint_def
      )
      self.assertEqual(fingerprint, fingerprint_def)
  
imports: import os
  import shutil
  from tensorflow.core.config import flags
  from tensorflow.core.protobuf import fingerprint_pb2
  from tensorflow.core.protobuf import saved_model_pb2
  from tensorflow.python.eager import def_function
  from tensorflow.python.eager import test
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import tensor_spec
  from tensorflow.python.lib.io import file_io
  from tensorflow.python.saved_model import fingerprinting
  from tensorflow.python.saved_model import fingerprinting_utils
  from tensorflow.python.saved_model import save
  from tensorflow.python.saved_model.pywrap_saved_model import constants
  from tensorflow.python.saved_model.pywrap_saved_model import fingerprinting
  from tensorflow.python.trackable import autotrackable
label_desc: Use image node_id 14 for calling the FingerprintingTest obj's underlying member method code with example usage: obj.test_valid_from_proto() without return types