code: def test_pass_context_option_max_copy_movements():
      # fmt: off
      @tvm.script.ir_module
      class ReferenceModule:
          @T.prim_func
          def main() -> None:
              T.func_attr({"from_legacy_te_schedule": True, "global_symbol": "main", "tir.noalias": True})
              buffer1 = T.Buffer([97156], "int8")
              buffer2 = T.Buffer([80], "uint8")
              buffer3 = T.Buffer([64], "uint8")
              buffer4 = T.Buffer([96], "uint8")
              buffer5 = T.Buffer([32], "uint8")
              # body
              p1 = T.decl_buffer([390336], "int8")
              p2 = T.decl_buffer([80], "uint8")
              p3 = T.decl_buffer([64], "uint8")
              p4 = T.decl_buffer([390336], "int8")
              p5 = T.decl_buffer([96], "uint8")
              p6 = T.decl_buffer([32], "uint8")
              T.evaluate(T.call_extern("ethosu_copy", buffer2[0], 80, p2[0], dtype="handle"))
              T.evaluate(T.call_extern("ethosu_copy", buffer3[0], 64, p3[0], dtype="handle"))
              T.evaluate(T.call_extern("ethosu_copy", buffer4[0], 96, p5[0], dtype="handle"))
              T.evaluate(T.call_extern("ethosu_copy", buffer5[0], 32, p6[0], dtype="handle"))
              T.evaluate(T.call_extern("ethosu_pooling", "int8", 214, 227, 2, 214, 0, 227, buffer1[0], 0, 0, 0, T.float32(1), 0, "NHWC", 454, 2, 1, "int8", 214, 114, 2, 214, 0, 114, p1[0], 0, 0, 0, T.float32(1), 0, "NHCWB16", 1824, 16, 1, "MAX", 2, 1, 2, 1, 1, 1, 0, 0, 0, 1, "NONE", 0, 0, "TFL", "NONE", 0, 0, 0, dtype="handle"))
              T.evaluate(T.call_extern("ethosu_conv2d", "int8", 214, 114, 2, 214, 0, 114, p1[0], 0, 0, 0, T.float32(0.00392157), -128, "NHCWB16", 1824, 16, 1, "int8", 214, 114, 5, 214, 0, 114, p4[0], 0, 0, 0, T.float32(0.0174839), -128, "NHCWB16", 1824, 16, 1, 3, 1, 1, 1, 1, 2, p2[0], 80, 0, p3[0], 64, 0, 1, 0, 1, "NONE", 0, 0, "TFL", "NONE", 0, 0, 0, dtype="handle"))
              T.evaluate(T.call_extern("ethosu_conv2d", "int8", 214, 114, 5, 214, 0, 114, p4[0], 0, 0, 0, T.float32(0.0174839), -128, "NHCWB16", 1824, 16, 1, "int8", 214, 114, 3, 214, 0, 114, buffer3[0], 0, 0, 0, T.float32(0.104816), -128, "NHWC", 342, 3, 1, 3, 1, 1, 1, 1, 2, p5[0], 96, 0, p6[0], 32, 0, 1, 0, 1, "CLIP", -128, 127, "TFL", "NONE", 0, 0, 0, dtype="handle"))
      # fmt: on
  
      with tvm.transform.PassContext(
          config={
              "tir.contrib.ethos-u.copy_compute_reordering_max_copy_movements": 2
          }
      ):
          test_mod = CopyComputeReordering()(
              OperatorsWithAndWithoutWeights
          )
      reference_mod = ReferenceModule
      tvm.ir.assert_structural_equal(test_mod, reference_mod, True)
  
imports: import pytest
  import tvm
  from tvm.script import tir
  from tvm.relay.backend.contrib.ethosu.tir.passes import CopyComputeReordering
label_desc: Use image node_id 13 for calling a global function with example usage: test_pass_context_option_max_copy_movements() without return types