code: def AnnotateAllocates():
      """
      This is pass to annotate all allocate
      nodes of the PrimFuncs of the microNPU
      to be not lowered to built-ins.
      """
  
      def _post_transform(allocate):
          return tvm.tir.Allocate(
              buffer_var=allocate.buffer_var,
              dtype=allocate.dtype,
              extents=allocate.extents,
              condition=allocate.condition,
              body=allocate.body,
              annotations={DISABLE_LOWER_BUILTIN: True},
          )
  
      def _ftransform(f, mod, ctx):
          return f.with_body(
              tvm.tir.stmt_functor.ir_transform(
                  f.body, None, _post_transform, ["tir.Allocate"]
              )
          )
  
      return tvm.tir.transform.prim_func_pass(
          _ftransform,
          opt_level=0,
          name="tir.contrib.ethos-u.annotate_allocates",
      )
  
imports: from collections import namedtuple
  from typing import Optional
  import numpy
  from ethosu.vela import api
  import tvm
  from tvm.relay.backend.contrib.ethosu import vela_api
  from tvm.relay.backend.contrib.ethosu import tir_to_cs_translator
  from .convolution import get_conv2d_params
  from .depthwise import get_depthwise_conv2d_params
  from .pooling import get_pooling_params
  from .binary_elementwise import get_binary_elementwise_params
  from .identity import get_identity_params
  from .unary_elementwise import get_unary_elementwise_params
  from .transform import get_copy_params
  from .producers_consumers import ProducersConsumers
  from ..None import _ffi_api
label_desc: Use image node_id 5 for calling a global function with example usage: AnnotateAllocates() and returns: tvm, tvm, f