Learn R Programming

torch (version 0.8.1)

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