code: def get_mx_array(shape, ctx=None, dtype=None):
      # WAR
      # ToDo (jlisiecki) - fix when upstream MXNet fixes this
      # mx.nd.empty doesn't support np.longlong as mx.nd.zeros does, but it does np.int64
      # which from our point of view is the same
      if dtype == np.longlong:
          dtype = np.int64
      # mx.nd.empty doesn't handle scalars as shape
      if not isinstance(shape, Iterable):
          shape = [shape]
  
      return mx.nd.empty(shape, ctx, dtype)
  
imports: from nvidia.dali.backend import TensorGPU, TensorListGPU
  from nvidia.dali import types
  from nvidia.dali.plugin.base_iterator import _DaliBaseIterator
  from nvidia.dali.plugin.base_iterator import LastBatchPolicy
  import mxnet
  import ctypes
  import numpy
  from collections.abc import Iterable
label_desc: Use image node_id 3 for calling a global function with example usage: get_mx_array(shape, ctx, dtype) and returns: mx