code: def verify(mod, fname):
      # Get the function from the module
      f = mod.get_function(fname)
      # Use tvm.nd.array to convert numpy ndarray to tvm
      # NDArray type, so that function can be invoked normally
      N = 10
      x = tvm.nd.array(np.arange(N, dtype=np.float32))
      y = tvm.nd.array(np.zeros(N, dtype=np.float32))
      # Invoke the function
      f(x, y)
      np_x = x.numpy()
      np_y = y.numpy()
      # Verify correctness of function
      assert np.all([xi + 1 == yi for xi, yi in zip(np_x, np_y)])
      print("Finish verification...")
  
imports: import tvm
  from tvm import te
  import numpy
label_desc: Use image node_id 1 for calling a global function with example usage: verify(mod, fname) without return types