Learn R Programming

rTorch (version 0.4.2)

is_tensor: Is the object a tensor

Description

Determine if the object is a tensor by looking inheritance

Usage

is_tensor(obj)

Arguments

obj

an object