code: def testEquality(self):
      s1 = tensor_shape.TensorShape(
          [
              tensor_shape.Dimension(3),
              tensor_shape.Dimension(4),
              tensor_shape.Dimension(7),
          ]
      )
      s2 = tensor_shape.TensorShape(
          [
              tensor_shape.Dimension(3),
              tensor_shape.Dimension(4),
              tensor_shape.Dimension(7),
          ]
      )
      s3 = tensor_shape.TensorShape(
          [tensor_shape.Dimension(3), tensor_shape.Dimension(4), None]
      )
  
      self.assertEqual(s1, s2)
      self.assertEqual(s1, s2)
  
      # Test with an unknown shape in s3
      self.assertNotEqual(s1, s3)
  
      unk0 = tensor_shape.unknown_shape()
      self.assertNotEqual(unk0, s1)
      self.assertNotEqual(s1, unk0)
      self.assertNotEqual(unk0, s1)
      self.assertNotEqual(s1, unk0)
  
      unk1 = tensor_shape.unknown_shape()
      self.assertEqual(unk0, unk1)
      self.assertEqual(unk1, unk0)
  
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 18 for calling the ShapeTest obj's underlying member method code with example usage: obj.testEquality() without return types