code: def test_loop_dep_reduce():
      X = te.placeholder(shape=(10,), name="x")
  
      def f(n):
          rv = te.reduce_axis((0, n))
          return te.sum(X[rv], axis=rv)
  
      Y = te.compute(X.shape, f, name="y")
      s = te.create_schedule([Y.op])
      f = tvm.build(s, [X, Y])
  
imports: import numpy
  import tvm
  from tvm import te
  from tvm.driver.build_module import schedule_to_module
label_desc: Use image node_id 23 for calling a global function with example usage: test_loop_dep_reduce() and returns: te