code: def testCompositeClassDeserialization(self):
      original = MyCompositeClass(
          MyCustomClass(1, "name_1"),
          MyCustomClass(2, "name_2"),
          MyCustomClass(3, "name_3"),
      )
      serialized = serialization.serialize(original)
      deserialized = serialization.deserialize(serialized)
  
      self.assertIsInstance(deserialized, MyCompositeClass)
  
      self.assertEqual(deserialized.elements[0].index, 1)
      self.assertEqual(deserialized.elements[1].index, 2)
      self.assertEqual(deserialized.elements[2].index, 3)
  
      self.assertEqual(deserialized.elements[0].name, "name_1")
      self.assertEqual(deserialized.elements[1].name, "name_2")
      self.assertEqual(deserialized.elements[2].name, "name_3")
  
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 4 for calling the SerializeTest obj's underlying member method code with example usage: obj.testCompositeClassDeserialization() without return types