jaxlib.xla_extension.Device
Warning
This page was created from a pull request (#9655).
jaxlib.xla_extension.Device¶
- class jaxlib.xla_extension.Device¶
A descriptor of an available device.
Subclasses are used to represent specific types of devices, e.g. CPUs, GPUs. Subclasses may have additional properties specific to that device type.
- __init__(*args, **kwargs)¶
Methods
__init__(*args, **kwargs)live_buffers(self)transfer_from_outfeed(self, arg0)transfer_to_infeed(self, arg0)Attributes
clientdevice_kindhost_idDeprecated; please use process_index
idInteger ID of this device.
platformprocess_indexInteger index of this device's process.
task_idDeprecated; please use process_index