Learn R Programming

tensorr (version 0.1.1)

length,tensor-method: Length of a tensor

Description

The total number of values in a tensor. Equal to the product of the dimensions.

Usage

# S4 method for tensor
length(x)

Arguments

x

tensor