Return an array of dimensions.
References syten::IdentityDenseTensorImpl::IdentityDenseTensor< rank, Scalar >::dims.