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
]