code: def _check_alloc_zero_dim_buffer(f):
      dtype = "float32"
      ctx = tvm.cpu()
  
      np_data = np.zeros(shape=()).astype(dtype)
      np_out = np.zeros(shape=()).astype(dtype)
      tvm_data = tvm.nd.array(np_data, ctx)
      tvm_out = tvm.nd.array(np_out, ctx)
  
      # np func exection
      np_inter = np.array(1)
      np_data[()] = 2.0
      np_inter[()] = np_data[()] + np_out[()]
      np_out[()] = np_inter[()]
  
      # tvm func execution
      f(tvm_data, tvm_out)
      tvm.testing.assert_allclose(tvm_out.numpy(), np_out, rtol=1e-5)
  
file_path: tvm/tests/python/tvmscript/test_tvmscript_ops.py
imports: import numpy
  import tvm
  import tvm.testing
  from tvm.script import tir
label_desc: Use image node_id 6 for calling a global function with example usage: _check_alloc_zero_dim_buffer(f) without return types