code: def assertShapeEq(self, x, y):
      assert isinstance(x, RaggedTensorDynamicShape)
      assert isinstance(y, RaggedTensorDynamicShape)
      self.assertLen(
          x.partitioned_dim_sizes, len(y.partitioned_dim_sizes)
      )
      for x_dims, y_dims in zip(
          x.partitioned_dim_sizes, y.partitioned_dim_sizes
      ):
          self.assertAllEqual(x_dims, y_dims)
      self.assertAllEqual(x.inner_dim_sizes, y.inner_dim_sizes)
  
file_path: tensorflow/tensorflow/python/ops/ragged/ragged_tensor_shape_test.py
imports: from absl.testing import parameterized
  import numpy
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops.ragged import ragged_factory_ops
  from tensorflow.python.ops.ragged import ragged_tensor
  from tensorflow.python.ops.ragged import ragged_tensor_shape
  from tensorflow.python.ops.ragged.ragged_tensor_shape import RaggedTensorDynamicShape
  from tensorflow.python.platform import googletest
label_desc: Use image node_id 1 for calling the RaggedTensorShapeTest obj's underlying member method code with example usage: obj.assertShapeEq(x, y) without return types