is_torch_device {torch} | R Documentation |
Checks if object is a device
Description
Checks if object is a device
Usage
is_torch_device(x)
Arguments
x |
object to check |
[Package torch version 0.13.0 Index]
is_torch_device {torch} | R Documentation |
Checks if object is a device
is_torch_device(x)
x |
object to check |