code: def run_tvm_model(mod, params, input_name, inp, target="llvm"):
      with tvm.transform.PassContext(opt_level=3):
          lib = relay.build(mod, target=target, params=params)
  
      runtime = tvm.contrib.graph_executor.GraphModule(
          lib["default"](tvm.device(target, 0))
      )
  
      runtime.set_input(input_name, inp)
      runtime.run()
      return runtime.get_output(0).numpy(), runtime
  
file_path: tvm/gallery/how_to/deploy_models/deploy_prequantized.py
imports: from PIL import Image
  import numpy
  import torch
  from torchvision.models.quantization import mobilenet
  import tvm
  from tvm import relay
  from tvm.contrib.download import download_testdata
label_desc: Use image node_id 5 for calling a global function with example usage: run_tvm_model(mod, params, input_name, inp, target) and returns: runtime,  runtime