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 May 29, 2024, 9:54 a.m.