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