Rdocumentation
powered by
Learn R Programming
torch (version 0.11.0)
cuda_current_device: Returns the index of a currently selected device.
Description
Returns the index of a currently selected device.
Usage
cuda_current_device()
Arguments