-
#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
span
has non-constIndex
elements ifcontainer_kind == container
.