Learn R Programming

tensorr (version 0.1.1)

is_dtensor: Test if the object is a tensor

Description

Test if the object is a tensor

Usage

is_dtensor(x)

is_sptensor(x)

is_tensor(x)

Arguments

x

object

Functions

  • is_dtensor: dense tensor

  • is_sptensor: sparse tensor