code: def _pin_memory(array):
      mem = cupy.cuda.alloc_pinned_memory(array.nbytes)
      ret = numpy.frombuffer(mem, array.dtype, array.size).reshape(
          array.shape
      )
      ret[...] = array
      return ret
  
label_desc: Use image node_id 1 for calling a global function with example usage: _pin_memory(array) and returns: ret