code: def get_current_device():
      # Returns the current CUDA device.
      # Returns None if cupy is not installed.
      # TODO(niboshi): Better remove dependency to cupy
      if cupy is None:
          return None
      return cupy.cuda.runtime.getDevice()
  
label_desc: Use image node_id 2 for calling a global function with example usage: get_current_device() and returns: cupy, None