code: def collapse_sum_like(data, collapse_type):
      """Return a scalar value array with the same shape and type as the input array.
  
      Parameters
      ----------
      data : relay.Expr
          The input tensor.
  
      collapse_type : relay.Expr
          Provide the shape to collapse to.
  
      Returns
      -------
      result : relay.Expr
          The resulting tensor.
      """
      return _make.collapse_sum_like(data, collapse_type)
  
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 25 for calling a global function with example usage: collapse_sum_like(data, collapse_type) and returns: _make