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