class_docstr: Device for GPU (CuPy) backend
class_docstr_tok: ["Device","for","GPU","(","CuPy",")","backend"]
code: def __init__(self, device):
      check_cuda_available()
      assert isinstance(device, Device)
  
      super(GpuDevice, self).__init__()
      self.device = device
  
imports: import binascii
  import functools
  import itertools
  import os
  import threading
  import time
  import typing
  import warnings
  import numpy
  import six
  import chainer
  from chainer import _backend
  from chainer.backends import _cpu
  from chainer.backends import intel64
  from chainer.configuration import config
  from chainer import types
  import chainerx
label_desc: Use image node_id 1 to create a new GpuDevice object from inherited base classes: _backend with example: obj = GpuDevice(device)