Chainer
v2.0.2
Installation Guide
Chainer Tutorial
Chainer Reference Manual
Core functionalities
Utilities
CUDA utilities
Devices
CuPy array allocation and copy
Kernel definition utilities
CPU/GPU generic code support
cuDNN support
Common algorithms
Reporter
Experimental feature annotation
Assertion and Testing
Standard Function implementations
Standard Link implementations
Optimizers
Serializers
Function hooks
Weight Initializers
Dataset examples
Iterator examples
Trainer extensions
Trainer triggers
Caffe Reference Model Support
Visualization of Computational Graph
Environment variables
Upgrade Guide from v1 to v2
Contribution Guide
API Compatibility Policy
Tips and FAQs
Comparison with Other Frameworks
License
Chainer
Docs
»
Chainer Reference Manual
»
Utilities
»
CUDA utilities
»
chainer.cuda.get_device_from_id
Edit on GitHub
chainer.cuda.get_device_from_id
¶
chainer.cuda.
get_device_from_id
(
device_id
)
[source]
¶
Gets the device from an ID integer.
Parameters:
device_id
(
int
or
None
) – The ID of the device which this function returns.
Read the Docs
v: v2.0.2
Versions
v2.0.2
v2.0.1
v2.0.0
v1.24.0
v1.23.0
v1.22.0
v1.21.0
v1.20.0.1
v1.19.0
v1.18.0
v1.9.1
v1.8.2
v1.7.2
v1.6.2.1
v1.5.1
v1.4.1
v1.3.2
v1.2.0
variable-document
v2-docs-cupy
Downloads
On Read the Docs
Project Home
Builds
Free document hosting provided by
Read the Docs
.