code: def __init__(
      self,
      device_type: DeviceTypes = "gpu",
      device_id: int = 0,
      **kwargs,
  ) -> None:
      self.device_type = device_type
      self.device_id = device_id
  
imports: import numpy
  from ..None import registry
  from ..compat import cupy, cupyx
  from ..types import DeviceTypes
  from ..util import is_cupy_array, is_mxnet_gpu_array, is_tensorflow_gpu_array, is_torch_cuda_array, mxnet2xp, tensorflow2xp, torch2xp
  from .None import _custom_kernels
  from .numpy_ops import NumpyOps
  from .ops import Ops
label_desc: Use image node_id 1 to create a new CupyOps object from inherited base classes: Ops with example: obj = CupyOps(device_type, device_id)