code: def testRaggedBroadcastTo(self, x, dim_sizes, expected):
      shape = RaggedTensorDynamicShape.from_dim_sizes(dim_sizes)
      result = ragged_tensor_shape.broadcast_to(x, shape)
      self.assertEqual(
          getattr(result, "ragged_rank", 0),
          getattr(expected, "ragged_rank", 0),
      )
      self.assertAllEqual(result, expected)
  
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 7 for calling the RaggedTensorShapeTest obj's underlying member method code with example usage: obj.testRaggedBroadcastTo(x, dim_sizes, expected) without return types