-
#include "tensorstore/strided_layout.h" -
span<const Index, RankConstraint::FromInlineRank(Rank)>
tensorstore::StridedLayout<Rank, OriginKind, CKind>::shape() const; -
span<MaybeConstIndex, RankConstraint::FromInlineRank(Rank)>
tensorstore::StridedLayout<Rank, OriginKind, CKind>::shape(); Returns the shape vector of size
rank().For the non-const overload, the returned
spanhas non-constIndexelements ifcontainer_kind == container.