code: def testSerialization(self):
      shape_1 = tensor_shape.TensorShape([1, 2, 3])
      shape_2 = tensor_shape.TensorShape([None, 2, None])
      shape_3 = tensor_shape.TensorShape(None)
  
      self.assertEqual(
          trace_type.deserialize(trace_type.serialize(shape_1)), shape_1
      )
      self.assertEqual(
          trace_type.deserialize(trace_type.serialize(shape_2)), shape_2
      )
      self.assertEqual(
          trace_type.deserialize(trace_type.serialize(shape_3)), shape_3
      )
  
imports: from absl.testing import parameterized
  from tensorflow.core.framework import tensor_shape_pb2
  from tensorflow.core.function import trace_type
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import tensor_shape
  from tensorflow.python.framework import test_util
  from tensorflow.python.platform import googletest
label_desc: Use image node_id 1 for calling the SerilizationTest obj's underlying member method code with example usage: obj.testSerialization() without return types