code: def main():
      mod, inputs, output_list, runner = create_conv2d()
  
      uma_backend = MyAiHwBackend()
      uma_backend.register()
      mod = uma_backend.partition(mod)
      target = tvm.target.Target(
          "my_ai_hw", host=tvm.target.Target("c")
      )
  
      export_directory = tvm.contrib.utils.tempdir(
          keep_for_debug=True
      ).path
      print(f"Generated files are in {export_directory}")
      compile_and_run(
          AOTModel(module=mod, inputs=inputs, outputs=output_list),
          runner,
          interface_api="c",
          use_unpacked_api=True,
          target=target,
          test_dir=str(export_directory),
      )
  
file_path: tvm/apps/uma/_template/run.py
imports: from tvm.micro.testing.aot_test_utils import AOT_DEFAULT_RUNNER
  import tvm
  from tvm import relay
  from backend import MyAiHwBackend
  from tvm.relay import transform
  from collections import OrderedDict
  import numpy
  from tvm.testing.aot import AOTTestModel, AOTTestRunner, generate_ref_data, compile_and_run
label_desc: Use image node_id 2 for calling a global function with example usage: main() without return types