code: def broadcast_to(data, shape):
      """Return a scalar value array with the same type, broadcasted to
      the provided shape.
  
      Parameters
      ----------
      data : relay.Expr
          The input tensor.
  
      shape : tuple of int or relay.Expr
          Provide the shape to broadcast to.
  
      Returns
      -------
      result : relay.Expr
          The resulting tensor.
      """
      if isinstance(shape, Constant):
          shape = list(shape.data.numpy())
      if isinstance(shape, Expr):
          return _dyn_make.broadcast_to(data, shape)
      if isinstance(shape, int):
          shape = [shape]
      if isinstance(shape, (list, tuple)):
          shape = list(shape)
      return _make.broadcast_to(data, shape)
  
imports: from ...tir import expr
  from ..expr import Constant, Expr, Tuple, TupleWrapper, const
  from .None import _make
  from .dyn import _make
  from .tensor import shape_of
label_desc: Use image node_id 23 for calling a global function with example usage: broadcast_to(data, shape) and returns: _make, _dyn_make