Rdocumentation
powered by
Learn R Programming
torch (version 0.8.1)
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