code: def device_query(id, verbose=False):
      assert (
          singa.USE_CUDA
      ), "SINGA has not been compiled with CUDA enabled."
      return singa.Platform.DeviceQuery(id, verbose)
  
file_path: singa/python/singa/device.py
imports: from .None import singa_wrap
label_desc: Use image node_id 6 for calling a global function with example usage: device_query(id, verbose) and returns: singa