code: def test_compiling_with_main():
      unit_type = relay.TupleType([])
      unit = relay.Function([], relay.Tuple([]), ret_type=unit_type)
  
      x = relay.Var("x", type_annotation=unit_type)
      identity = relay.Function([x], x, ret_type=unit_type)
  
      mod = tvm.IRModule()
      mod["unit"] = unit
      mod["main"] = identity
  
      res = run_as_python(
          mod.get_global_var("main")(mod.get_global_var("unit")()),
          mod=mod,
      )
      assert isinstance(res, ADT)
      assert len(res) == 0
  
imports: import numpy
  import tvm
  from tvm import te
  from tvm import relay
  from tvm.relay.testing import run_as_python
  from tvm.relay.prelude import Prelude
  from tvm.runtime.container import ADT
  from tvm.relay.backend.interpreter import RefValue, ConstructorValue
label_desc: Use image node_id 37 for calling a global function with example usage: test_compiling_with_main() without return types