返回 mdspan 中的维度数。等价于 return Extents::rank()。
mdspan
(无)
维度数。
extents
std::extents<IndexType,Extents...>