cuda_current_device {torch}R Documentation

Returns the index of a currently selected device.

Description

Returns the index of a currently selected device.

Usage

cuda_current_device()

[Package torch version 0.13.0 Index]