code: def create_exec(f, target="llvm", params=None):
      if isinstance(f, relay.Expr):
          mod = tvm.IRModule()
          mod["main"] = f
          executable = rly_vm.compile(mod, target=target, params=params)
          return executable
      else:
          assert isinstance(
              f, tvm.IRModule
          ), "expected mod as tvm.IRModule"
          executable = rly_vm.compile(f, target=target, params=params)
          return executable
  
imports: import pytest
  import numpy
  import tvm
  from tvm.runtime import vm
  from tvm.relay import vm
  from tvm import relay
  from tvm.relay.scope_builder import ScopeBuilder
  from tvm.relay import transform
  from tvm.relay.prelude import Prelude
  from tvm.contrib import utils
  from tvm.relay import testing
label_desc: Use image node_id 1 for calling a global function with example usage: create_exec(f, target, params) and returns: executable, executable