code: def test_ethosu_compiler_attrs():
      # It is checked that the represented string and boolean types in the
      # EthosUCompilerConfigNode structure can be passed via the command line
      parser = argparse.ArgumentParser()
      generate_target_args(parser)
      parsed, _ = parser.parse_known_args(
          [
              "--target-ethos-u-accelerator_config=ethos-u55-32",
              "--target-ethos-u-enable_cascader=1",
          ]
      )
      assert reconstruct_target_args(parsed) == {
          "ethos-u": {
              "accelerator_config": "ethos-u55-32",
              "enable_cascader": 1,
          },
      }
  
file_path: tvm/tests/python/driver/tvmc/test_target_options.py
imports: import argparse
  import pytest
  import tvm
  from tvm.driver.tvmc import TVMCException
  from tvm.driver.tvmc.target import generate_target_args, reconstruct_target_args, target_from_cli
label_desc: Use image node_id 6 for calling a global function with example usage: test_ethosu_compiler_attrs() without return types