powered by
Return the vector of modes from a tensor
# S4 method for Tensor dim(x)
an integer vector of the modes associated with x
x
the Tensor instance
dim(x)
tnsr <- rand_tensor() dim(tnsr)
Run the code above in your browser using DataLab