is_tensor: Is the object a tensor

Description Usage Arguments

View source: R/properties.R

Description

Determine if the object is a tensor by looking inheritance

Usage

1
is_tensor(obj)

Arguments

obj

an object


rTorch documentation built on Jan. 13, 2021, 4:32 p.m.