code: def transform(mod):
      logger.info("Starting module:\n%s", mod)
      host_target = tvm.target.Target("llvm")
      prim_target = tvm.target.Target("llvm", host=host_target)
      ctxt = tvm.transform.PassContext()
      config = tvm.target.make_compilation_config(ctxt, prim_target)
      mod = tvm.relay.transform.PlanDevices(config)(mod)
      mod = tvm.relay.transform.InferType()(mod)
      mod = LowerTE("test", config)(mod)
      mod = tvm.relay.transform.InferType()(mod)
      logger.info("After LowerTE:\n%s", mod)
      return mod
  
file_path: tvm/tests/python/relay/backend/test_pass_lower_te.py
imports: import tvm
  import tvm.testing
  import logging
label_desc: Use image node_id 1 for calling a global function with example usage: transform(mod) and returns: mod