is_torch_device: Checks if object is a device

View source: R/device.R

is_torch_deviceR Documentation

Checks if object is a device

Description

Checks if object is a device

Usage

is_torch_device(x)

Arguments

x

object to check


torch documentation built on Aug. 19, 2022, 5:08 p.m.