code: def _create_npu_feature_map(
      serial_feature_map: spec.SerialFeatureMap,
  ) -> vapi.NpuFeatureMap:
      """This is a helper function to capture a list
      of arguments to create Vela NpuFeatureMap object.
      """
      layout_map = {
          "NHWC": vapi.NpuLayout.NHWC,
          "NHCWB16": vapi.NpuLayout.NHCWB16,
      }
      datatype_map = {
          "uint8": vapi.NpuDataType.UINT8,
          "int8": vapi.NpuDataType.INT8,
          "uint16": vapi.NpuDataType.UINT16,
          "int16": vapi.NpuDataType.INT16,
          "int32": vapi.NpuDataType.INT32,
      }
      layout = str(serial_feature_map.layout.value)
      data_type = str(serial_feature_map.data_type.value)
      date_type_bytes = np.iinfo(np.dtype(data_type)).bits // 8
      assert layout in layout_map.keys()
      assert data_type in datatype_map.keys()
      nfm = vapi.NpuFeatureMap()
      nfm.data_type = datatype_map[data_type]
      nfm.shape = vapi.NpuShape3D(
          int(serial_feature_map.height),
          int(serial_feature_map.width),
          int(serial_feature_map.channels),
      )
      nfm.tiles = vapi.NpuTileBox(
          int(serial_feature_map.tile_height_0),
          int(serial_feature_map.tile_height_1),
          int(serial_feature_map.tile_width_0),
          [
              serial_feature_map.tile_address_0,
              serial_feature_map.tile_address_1,
              serial_feature_map.tile_address_2,
              serial_feature_map.tile_address_3,
          ],
      )
      nfm.quantization = _create_npu_quantization(
          serial_feature_map.scale, serial_feature_map.zero_point
      )
      nfm.layout = layout_map[layout]
      nfm.strides = vapi.NpuShape3D(
          int(serial_feature_map.stride_h.value) * date_type_bytes,
          int(serial_feature_map.stride_w.value) * date_type_bytes,
          int(serial_feature_map.stride_c.value) * date_type_bytes,
      )
      return nfm
  
imports: from typing import Dict, NamedTuple, Tuple, Union, List
  from enum import auto
  from enum import Enum
  import numpy
  import ethosu.vela.api
  import tvm
  from tvm.tir import stmt_functor
  from tvm.relay.backend.contrib.ethosu import util
  from tvm.relay.backend.contrib.ethosu import vela_api
  from tvm.relay.backend.contrib.ethosu.tir import spec
  from tvm.relay.backend.contrib.ethosu.tir import utils
label_desc: Use image node_id 16 for calling a global function with example usage: _create_npu_feature_map(serial_feature_map) and returns: nfm