Dimensions of a tensor

# S4 method for dtensor
dim(x)

# S4 method for sptensor
dim(x)

Arguments

x

tensor