Rdocumentation
powered by
Learn R Programming
torch (version 0.14.2)
is_torch_device: Checks if object is a device
Description
Checks if object is a device
Usage
is_torch_device(x)
Arguments
x
object to check