tensorplay.cuda.current_device tensorplay.cuda.current_device() → int[source] Return the index of a currently selected device.