code: def broadcast_to(rt_input, shape, broadcast_inner_dimensions=True):
      """Broadcasts a potentially ragged tensor to a ragged shape.
  
      Tiles `rt_input` as necessary to match the given shape.
  
      Behavior is undefined if `rt_input` is not broadcast-compatible with `shape`.
  
      Args:
        rt_input: The potentially ragged tensor to broadcast.
        shape: A `RaggedTensorDynamicShape`
        broadcast_inner_dimensions: If false, then inner dimensions will not be
          tiled.
  
      Returns:
        A potentially ragged tensor whose values are taken from
        `rt_input`, and whose shape matches `shape`.
      """
      if not isinstance(shape, RaggedTensorDynamicShape):
          raise TypeError("shape must be a RaggedTensorDynamicShape")
      rt_input = ragged_tensor.convert_to_tensor_or_ragged_tensor(
          rt_input
      )
  
      # Broadcasting to a uniform shape.
      if shape.num_partitioned_dimensions == 0:
          return _broadcast_to_uniform_shape(
              rt_input, shape, broadcast_inner_dimensions
          )
      else:
          return _broadcast_to_ragged_shape(
              rt_input, shape, broadcast_inner_dimensions
          )
  
imports: from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import tensor_shape
  from tensorflow.python.framework import tensor_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import array_ops_stack
  from tensorflow.python.ops import control_flow_assert
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops.ragged import ragged_array_ops
  from tensorflow.python.ops.ragged import ragged_config
  from tensorflow.python.ops.ragged import ragged_tensor
  from tensorflow.python.ops.ragged import ragged_util
label_desc: Use image node_id 2 for calling a global function with example usage: broadcast_to(rt_input, shape, broadcast_inner_dimensions) and returns: _broadcast_to_uniform_shape, _broadcast_to_ragged_shape