(self, backend: 'Backend', name: str, device_type: str, memory: int, processor_count: int, description: str, ref=None)
Name of the compute device. CPUs are typically called `'CPU'`.
Name of the compute device. CPUs are typically called `'CPU'`.
Name of the compute device . CPUs are typically called CPU .
def __init__(self, backend: 'Backend', name: str, device_type: str, memory: int, processor_count: int, description: str, ref=None):
        self.name: str = name
        """ Name of the compute device. CPUs are typically called `'CPU'`. """
        self.device_type: str = device_type
        """ Type of device such as `'CPU'`, `'GPU'` or `'TPU'`. """
        self.memory: int = memory
        """ Maximum memory of the device that can be allocated (in bytes). -1 for n/a. """
        self.processor_count: int = processor_count
        """ Number of CPU cores or GPU multiprocessors. -1 for n/a. """
        self.description: str = description
        """ Further information about the device such as driver version. """
        self.ref = ref
        """ (Optional) Reference to the internal device representation. """
        self.backend: 'Backend' = backend
        """ Backend that this device belongs to. Different backends represent the same device with different objects. """
def __init__ ( self , backend : 'Backend' , name : str , device_type : str , memory : int , processor_count : int , description : str , ref = None ) : self . name : str = name self . device_type : str = device_type """ Type of device such as `'CPU'`, `'GPU'` or `'TPU'`. """ self . memory : int = memory """ Maximum memory of the device that can be allocated (in bytes). -1 for n/a. """ self . processor_count : int = processor_count """ Number of CPU cores or GPU multiprocessors. -1 for n/a. """ self . description : str = description """ Further information about the device such as driver version. """ self . ref = ref """ (Optional) Reference to the internal device representation. """ self . backend : 'Backend' = backend """ Backend that this device belongs to. Different backends represent the same device with different objects. """