code: def test_compile_tflite_module_with_external_codegen_ethosu(
      tmpdir_factory, tflite_mobilenet_v1_1_quant
  ):
      pytest.importorskip("tflite")
      pytest.importorskip("ethosu.vela")
      ACCEL_TYPES = [
          "ethos-u55-256",
          "ethos-u55-128",
          "ethos-u55-64",
          "ethos-u55-32",
      ]
  
      output_dir = tmpdir_factory.mktemp("mlf")
  
      tvmc_model = tvmc.load(tflite_mobilenet_v1_1_quant)
  
      for accel_type in ACCEL_TYPES:
          output_file_name = f"{output_dir}/file_{accel_type}.tar"
  
          tvmc.compiler.compile_model(
              tvmc_model,
              target=f"ethos-u -accelerator_config={accel_type}, c -mcpu=cortex-m55",
              runtime=Runtime("crt"),
              executor=Executor("aot", {"unpacked-api": True}),
              output_format="mlf",
              package_path=output_file_name,
              pass_context_configs=["tir.disable_vectorize=true"],
          )
  
          # check whether an MLF package was created
          assert os.path.exists(output_file_name)
  
          # check whether the expected number of C sources are in the tarfile
          with tarfile.open(output_file_name) as mlf_package:
              c_source_files = [
                  name
                  for name in mlf_package.getnames()
                  if re.match(r"\./codegen/host/src/\D+\d+\.c", name)
              ]
              # The number of c_source_files depends on the number of fused subgraphs that
              # get offloaded to the NPU, e.g. conv2d->depthwise_conv2d->conv2d gets offloaded
              # as a single subgraph if both of these operators are supported by the NPU.
              # Currently there are three source files for CPU execution and one offload graph
              assert len(c_source_files) == 4
  
imports: import os
  import re
  import numpy
  import shutil
  import tarfile
  from os import path
  from unittest import mock
  import pytest
  import tvm
  from tvm.ir.memory_pools import WorkspacePoolInfo, WorkspaceMemoryPools
  from tvm.target import Target
  import tvm.testing
  from tvm.relay.op.contrib.ethosn import ethosn_available
  from tvm.relay.backend import Runtime, Executor
  from tvm import relay
  from tvm.contrib.target.vitis_ai import vitis_ai_available
  from tvm.driver import tvmc
  from tvm.driver.tvmc.model import TVMCPackage
  from tvm.contrib import utils
label_desc: Use image node_id 27 for calling a global function with example usage: test_compile_tflite_module_with_external_codegen_ethosu(tmpdir_factory, tflite_mobilenet_v1_1_quant) without return types