code: def test_value_index():
      @te.hybrid.script
      def kernel_a(a):
          b = output_tensor((16,), "int32")
          c = output_tensor((4, 4), "int32")
          for i in range(16):
              b[i] = a[i] + 2
              c[i // 4, i % 4] = a[i] + 1
          return b, c
  
      @te.hybrid.script
      def kernel_b(b, a):
          c = output_tensor((4, 4), "int32")
          for i in range(4):
              for j in range(4):
                  c[i, j] = a[i * 4 + j] * b[i, j]
          return c
  
      a = te.placeholder((16,), "int32")
      b, c = kernel_a(a)
      d = kernel_b(c, b)
      sch = te.create_schedule(d.op)
      module = tvm.build(sch, [a, d])
      assert module
  
      np_a = numpy.arange(16).astype("int32")
      np_b, np_c = kernel_a(np_a)
      ref = kernel_b(np_c, np_b)
  
      res = tvm.nd.array(numpy.zeros((4, 4)).astype("int32"))
      module(tvm.nd.array(np_a), res)
      tvm.testing.assert_allclose(res.numpy(), ref)
  
imports: import tvm, inspect, sys, traceback, numpy, pytest, types, os
  from tvm import te
  from tvm.contrib import utils
  from tvm.te.hybrid import script
  from tvm.te.hybrid.runtime import HYBRID_GLOBALS
  import tvm.testing
label_desc: Use image node_id 14 for calling a global function with example usage: test_value_index() and returns: b,  c, c