code: def create_cuda_gpus(num):
      """Create a list of CudaGPU devices.
  
      Args:
          num (int): number of device to create.
      Returns:
          a list of swig converted CudaGPU devices.
      """
      assert (
          singa.USE_CUDA
      ), "SINGA has not been compiled with CUDA enabled."
      return singa.Platform.CreateCudaGPUs(num)
  
file_path: singa/python/singa/device.py
imports: from .None import singa_wrap
label_desc: Use image node_id 8 for calling a global function with example usage: create_cuda_gpus(num) and returns: singa