# tensorplay.cuda.current_device Source: https://www.tensorplay.cn/docs/generated/tensorplay.cuda.current_device.html ```python tensorplay.cuda.current_device() → int ``` Return the index of a currently selected device.