code: def reduce_shape_func(attrs, inputs, _):
      """
      Shape function for reduce op.
      """
      axis_record = _create_axis_record(attrs, inputs)
      return [_reduce_shape_func(inputs[0], convert(axis_record))]
  
file_path: tvm/python/tvm/relay/op/_reduce.py
imports: from __future__ import absolute_import
  from tvm.runtime import convert
  from tvm.te.hybrid import script
  from tvm.topi.utils import get_const_int, get_const_tuple
  from .None import op
label_desc: Use image node_id 3 for calling a global function with example usage: reduce_shape_func(attrs, inputs, _) and returns: list