code: def build_and_run(
      mod,
      inputs,
      outputs,
      params,
      npu=True,
      expected_host_ops=0,
      npu_partitions=1,
      additional_config_args=None,
  ):
      """
      Convenient wrapper for building and running a module on the NPU.
      """
      lib = build(
          mod,
          params,
          npu,
          expected_host_ops,
          npu_partitions,
          additional_config_args,
      )
      return run(lib, inputs, outputs, npu)
  
imports: from __future__ import absolute_import, print_function
  from hashlib import md5
  from itertools import zip_longest, combinations
  import os
  from typing import Tuple
  import math
  import numpy
  from PIL import Image
  import tvm
  from tvm import relay
  from tvm.contrib import utils, graph_executor, download
  from tvm.relay.op.contrib import partition_for_ethosn
  from tvm.driver.tvmc.target import parse_target
  from .None import _infrastructure
label_desc: Use image node_id 9 for calling a global function with example usage: build_and_run(mod, inputs, outputs, params, npu, expected_host_ops, npu_partitions, additional_config_args) and returns: run