code: def main() -> None:
      # function attr dict
      T.func_attr(
          {
              "from_legacy_te_schedule": True,
              "global_symbol": "main",
              "tir.noalias": True,
          }
      )
      buffer1 = T.Buffer([8192], "int8")
      buffer2 = T.Buffer([128], "uint8")
      buffer3 = T.Buffer([32], "uint8")
      buffer4 = T.Buffer([112], "uint8")
      buffer5 = T.Buffer([32], "uint8")
      buffer6 = T.Buffer([112], "uint8")
      buffer7 = T.Buffer([32], "uint8")
      buffer8 = T.Buffer([112], "uint8")
      buffer9 = T.Buffer([32], "uint8")
      buffer10 = T.Buffer([2048], "int8")
      # body
      p1 = T.decl_buffer([128], "uint8")
      p2 = T.decl_buffer([112], "uint8")
      p3 = T.decl_buffer([112], "uint8")
      p4 = T.decl_buffer([32], "uint8")
      p5 = T.decl_buffer([32], "uint8")
      p6 = T.decl_buffer([32], "uint8")
      p7 = T.decl_buffer([112], "uint8")
      p8 = T.decl_buffer([32], "uint8")
      T.evaluate(
          T.call_extern(
              "ethosu_copy", buffer2[0], 128, p1[0], dtype="handle"
          )
      )
      T.evaluate(
          T.call_extern(
              "ethosu_copy", buffer3[0], 32, p4[0], dtype="handle"
          )
      )
      T.evaluate(
          T.call_extern(
              "ethosu_conv2d",
              "int8",
              16,
              16,
              32,
              16,
              0,
              16,
              buffer1[0],
              0,
              0,
              0,
              T.float32(0.5),
              10,
              "NHWC",
              512,
              32,
              1,
              "int8",
              16,
              16,
              2,
              16,
              0,
              16,
              buffer10[0],
              0,
              0,
              0,
              T.float32(0.25),
              14,
              "NHWC",
              128,
              8,
              1,
              1,
              1,
              1,
              1,
              1,
              1,
              p1[0],
              128,
              12,
              p4[0],
              32,
              0,
              0,
              0,
              0,
              "NONE",
              0,
              0,
              "TFL",
              "NONE",
              0,
              0,
              0,
              dtype="handle",
          )
      )
      T.evaluate(
          T.call_extern(
              "ethosu_copy", buffer4[0], 112, p2[0], dtype="handle"
          )
      )
      T.evaluate(
          T.call_extern(
              "ethosu_copy", buffer5[0], 32, p5[0], dtype="handle"
          )
      )
      T.evaluate(
          T.call_extern(
              "ethosu_conv2d",
              "int8",
              16,
              16,
              32,
              16,
              0,
              16,
              buffer1[0],
              0,
              0,
              0,
              T.float32(0.5),
              10,
              "NHWC",
              512,
              32,
              1,
              "int8",
              16,
              16,
              2,
              16,
              0,
              16,
              buffer10[2],
              0,
              0,
              0,
              T.float32(0.25),
              14,
              "NHWC",
              128,
              8,
              1,
              1,
              1,
              1,
              1,
              1,
              1,
              p2[0],
              112,
              12,
              p5[0],
              32,
              0,
              0,
              0,
              0,
              "NONE",
              0,
              0,
              "TFL",
              "NONE",
              0,
              0,
              0,
              dtype="handle",
          )
      )
      T.evaluate(
          T.call_extern(
              "ethosu_copy", buffer6[0], 112, p3[0], dtype="handle"
          )
      )
      T.evaluate(
          T.call_extern(
              "ethosu_copy", buffer7[0], 32, p6[0], dtype="handle"
          )
      )
      T.evaluate(
          T.call_extern(
              "ethosu_conv2d",
              "int8",
              16,
              16,
              32,
              16,
              0,
              16,
              buffer1[0],
              0,
              0,
              0,
              T.float32(0.5),
              10,
              "NHWC",
              512,
              32,
              1,
              "int8",
              16,
              16,
              2,
              16,
              0,
              16,
              buffer10[4],
              0,
              0,
              0,
              T.float32(0.25),
              14,
              "NHWC",
              128,
              8,
              1,
              1,
              1,
              1,
              1,
              1,
              1,
              p3[0],
              112,
              12,
              p6[0],
              32,
              0,
              0,
              0,
              0,
              "NONE",
              0,
              0,
              "TFL",
              "NONE",
              0,
              0,
              0,
              dtype="handle",
          )
      )
      T.evaluate(
          T.call_extern(
              "ethosu_copy", buffer8[0], 112, p7[0], dtype="handle"
          )
      )
      T.evaluate(
          T.call_extern(
              "ethosu_copy", buffer9[0], 32, p8[0], dtype="handle"
          )
      )
      T.evaluate(
          T.call_extern(
              "ethosu_conv2d",
              "int8",
              16,
              16,
              32,
              16,
              0,
              16,
              buffer1[0],
              0,
              0,
              0,
              T.float32(0.5),
              10,
              "NHWC",
              512,
              32,
              1,
              "int8",
              16,
              16,
              2,
              16,
              0,
              16,
              buffer10[6],
              0,
              0,
              0,
              T.float32(0.25),
              14,
              "NHWC",
              128,
              8,
              1,
              1,
              1,
              1,
              1,
              1,
              1,
              p7[0],
              112,
              12,
              p8[0],
              32,
              0,
              0,
              0,
              0,
              "NONE",
              0,
              0,
              "TFL",
              "NONE",
              0,
              0,
              0,
              dtype="handle",
          )
      )
  
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 1 for calling the AllOperatorsWithWeights obj's underlying member method code with example usage: obj.main() without return types