code: def to_numpy_type(dali_type):
      """
      Converts DALIDataType to NumPy type
  
      Args
      ----
      dali_type: DALIDataType
                 Input type to convert
      """
      import numpy as np
  
      global _numpy_types
      if _numpy_types is None:
          _numpy_types = {
              DALIDataType.UINT8: np.uint8,
              DALIDataType.UINT16: np.uint16,
              DALIDataType.UINT32: np.uint32,
              DALIDataType.UINT64: np.uint64,
              DALIDataType.INT8: np.int8,
              DALIDataType.INT16: np.int16,
              DALIDataType.INT32: np.int32,
              DALIDataType.INT64: np.int64,
              DALIDataType.FLOAT16: np.float16,
              DALIDataType.FLOAT: np.float32,
              DALIDataType.FLOAT64: np.float64,
              DALIDataType.BOOL: np.bool_,
          }
  
      return _numpy_types[dali_type]
  
imports: from enum import Enum, unique
  import re
  from nvidia.dali._backend_enums import DALIDataType, DALIImageType, DALIInterpType
  from nvidia.dali.backend_impl.types import *
label_desc: Use image node_id 7 for calling a global function with example usage: to_numpy_type(dali_type) and returns: _numpy_types