code: def test_const_param():
      @te.hybrid.script
      def add_something(a, b):
          c = output_tensor((11,), "int32")
          for i in range(11):
              c[i] = a[i] + b
          return c
  
      a = te.placeholder((11,), dtype="int32", name="a")
      b = tvm.tir.const(11, "int32")
      c = add_something(a, b)
      sch = te.create_schedule(c.op)
      module = tvm.build(sch, [a, c], "llvm")
      assert module
  
      np_a = numpy.arange(11).astype("int32")
      np_b = 11
      np_c = numpy.zeros((11,)).astype("int32")
  
      nd_a = tvm.nd.array(np_a)
      nd_c = tvm.nd.array(numpy.zeros((11,)).astype("int32"))
      module(nd_a, nd_c)
      ref = add_something(np_a, 11)
  
      tvm.testing.assert_allclose(nd_c.numpy(), ref, 1e-5, 1e-5)
  
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 13 for calling a global function with example usage: test_const_param() and returns: c