code: def _module():
      @tvm.script.ir_module
      class MyModule:
          @T.prim_func
          def main(a: T.handle, b: T.handle):
              # We exchange data between function by handles, which are similar to pointer.
              T.func_attr(
                  {
                      "tir.noalias": True,
                      "target": T.target("llvm"),
                  }
              )
              # Create buffer from handles.
              A = T.match_buffer(a, (8,), dtype="float32")
              B = T.match_buffer(b, (8,), dtype="float32")
              for i in range(8):
                  # A block is an abstraction for computation.
                  with T.block("B"):
                      # Define a spatial block iterator and bind it to value i.
                      vi = T.axis.spatial(8, i)
                      assert 1 == 0, "Some numbers"
                      B[vi] = A[vi] + 1.0
  
      return MyModule
  
file_path: tvm/tests/python/tir-base/test_debug_info.py
imports: import tvm
  import tvm.testing
  from tvm import tir
  from tvm import relay
  from tvm.script import tir
  from typing import List, Dict
  import re
label_desc: Use image node_id 2 for calling a global function with example usage: _module() and returns: MyModule