code: def run_qnn_func(func: relay.Function, args: List[relay.Expr]):
      mod = tvm.IRModule.from_expr(func)
      mod = relay.transform.InferType()(mod)
      mod = relay.qnn.transform.Legalize()(mod)
      mod = relay.qnn.transform.CanonicalizeOps()(mod)
      func = mod["main"]
  
      op_res = relay.create_executor(
          "graph", device=tvm.cpu(0), target="llvm"
      ).evaluate(func)(*args)
      return op_res.numpy()
  
imports: from typing import Callable, List
  import numpy
  import pytest
  import scipy.special
  import tvm
  import tvm.testing
  from tvm import relay
  from tvm.relay.qnn.op.legalizations import hardswish_func
label_desc: Use image node_id 3 for calling a global function with example usage: run_qnn_func(func, args) and returns: op_res