TensorPlay
API symbolscuda
Copy
View MarkdownDownload .md

tensorplay.cuda.current_device

tensorplay.cuda.current_device() int[source]

Return the index of a currently selected device.

Ask DeepWiki