code: def run_primfunc(
      primfunc_mod: tvm.IRModule,
      target: tvm.target.Target,
      input_tensors: List[tvm.nd.NDArray],
  ):
      """Compile and run the primfunc with the given input tensors."""
      with tvm.transform.PassContext(
          config={"relay.backend.use_meta_schedule": True},
          opt_level=3,
      ):
          lib = tvm.build(primfunc_mod, target=target)
      lib(*input_tensors)
  
imports: import itertools
  import random
  import tempfile
  from typing import Callable, Dict, List, Optional, Tuple, Union
  import numpy
  import pytest
  import tvm
  import tvm.testing
  from tvm import meta_schedule, relay
  from tvm.meta_schedule.schedule.cuda.layout_transform import cuda_layout_transform_schedule_rule
  from tvm.relay.op import OpPattern
  from tvm.script import ir
  from tvm.script import tir
  from tvm.tir.schedule import BlockRV
label_desc: Use image node_id 9 for calling a global function with example usage: run_primfunc(primfunc_mod, target, input_tensors) without return types