gives the list of dimensions of tensor.
- TensorDimensions accepts any type of tensor, either symbolic or explicit, including any type of array.
- On explicit rectangular arrays, TensorDimensions coincides with Dimensions. On symbolic arrays, TensorDimensions stays unevaluated unless the array has been assigned a rank through any form of assumption.
Introduced in 2012