code: def test_compiler_attr_default():
      default_config = {
          "accelerator_config": "ethos-u55-256",
          "enable_cascader": False,
          "enable_striping": False,
          "disable_copying_constants": False,
          "dev_force_block_config": "",
          "dev_max_open_plans": "8",
          "dev_max_closed_plans": "32",
          "dev_select_proposal_idx": "-1",
          "dev_disable_pareto_plans": False,
          "dev_disable_pareto_proposals": False,
          "dev_disable_block_culling": False,
          "dev_cascader_logging": False,
      }
      with tvm.transform.PassContext(opt_level=3):
          with tvm.target.Target("c"):
              compiler_attrs = tvm.get_global_func(
                  "relay.ext.ethos-u.get_compiler_attrs"
              )()
              assert (
                  compiler_attrs.accelerator_config
                  == default_config["accelerator_config"]
              )
              assert (
                  compiler_attrs.enable_cascader
                  == default_config["enable_cascader"]
              )
              assert (
                  compiler_attrs.enable_striping
                  == default_config["enable_striping"]
              )
              assert (
                  compiler_attrs.disable_copying_constants
                  == default_config["disable_copying_constants"]
              )
              assert (
                  compiler_attrs.dev_force_block_config
                  == default_config["dev_force_block_config"]
              )
              assert (
                  compiler_attrs.dev_max_open_plans
                  == default_config["dev_max_open_plans"]
              )
              assert (
                  compiler_attrs.dev_max_closed_plans
                  == default_config["dev_max_closed_plans"]
              )
              assert (
                  compiler_attrs.dev_select_proposal_idx
                  == default_config["dev_select_proposal_idx"]
              )
              assert (
                  compiler_attrs.dev_disable_pareto_plans
                  == default_config["dev_disable_pareto_plans"]
              )
              assert (
                  compiler_attrs.dev_disable_pareto_proposals
                  == default_config["dev_disable_pareto_proposals"]
              )
              assert (
                  compiler_attrs.dev_disable_block_culling
                  == default_config["dev_disable_block_culling"]
              )
              assert (
                  compiler_attrs.dev_cascader_logging
                  == default_config["dev_cascader_logging"]
              )
  
imports: import pytest
  import tvm
  from tvm import relay
  from tvm.relay.backend.contrib.ethosu import util
label_desc: Use image node_id 2 for calling a global function with example usage: test_compiler_attr_default() without return types