code: def _plan_devices(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)
      return mod, config
  
imports: import numpy
  import pytest
  import tvm
  import tvm.testing
  from tvm.ir import assert_structural_equal
  from tvm.relay.backend.aot import AOTLowerMain, CallType
  from tvm.script import tir
label_desc: Use image node_id 3 for calling a global function with example usage: _plan_devices(mod) and returns: mod,  config