code: def testCustomClassDeserialization(self):
      original = MyCustomClass(1234, "my_name")
      serialized = serialization.serialize(original)
      deserialized = serialization.deserialize(serialized)
  
      self.assertIsInstance(deserialized, MyCustomClass)
      self.assertEqual(deserialized.index, original.index)
      self.assertEqual(deserialized.name, original.name)
  
imports: from tensorflow.core.function.trace_type import serialization
  from tensorflow.core.function.trace_type import serialization_test_pb2
  from tensorflow.python.platform import test
label_desc: Use image node_id 2 for calling the SerializeTest obj's underlying member method code with example usage: obj.testCustomClassDeserialization() without return types