code: def test_serialize_deserialize_model(self) -> None:
      serializer = _OnnxTestTextualSerializer()
      model = onnx.parser.parse_model(_TEST_MODEL)
      serialized = serializer.serialize_proto(model)
      deserialized = serializer.deserialize_proto(
          serialized, onnx.ModelProto()
      )
      self.assertEqual(
          model.SerializeToString(deterministic=True),
          deserialized.SerializeToString(deterministic=True),
      )
  
file_path: onnx/onnx/test/serialization_test.py
imports: import os
  import tempfile
  import unittest
  import onnx
label_desc: Use image node_id 1 for calling the TestCustomSerializer obj's underlying member method code with example usage: obj.test_serialize_deserialize_model() without return types