code: def collapse_sum_to(data, shape):
      """Return a summation of data to the specified shape.
  
      Parameters
      ----------
      data : relay.Expr
          The input tensor.
  
      shape : relay.Expr
          Shape to collapse to.
  
      Returns
      -------
      result : relay.Expr
          The resulting tensor.
      """
      if isinstance(shape, (list, tuple)):
          shape = const(list(shape), "int32")
      return _make.collapse_sum_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 26 for calling a global function with example usage: collapse_sum_to(data, shape) and returns: _make