-
#include "tensorstore/strided_layout.h"
-
explicit tensorstore::StridedLayout<Rank, OriginKind, CKind>::
StridedLayout(
BoxView<RankConstraint::FromInlineRank(Rank)> domain,
span<const Index, RankConstraint::FromInlineRank(Rank)>
byte_strides)
requires (array_origin_kind == offset_origin); Constructs from the specified
domain
andbyte_strides
.- Requires:¶
- Dchecks:¶
domain.size() == byte_strides.size()
- Post:¶
this->rank() == shape.size()
- Post:¶
this->domain() == domain
- Post:¶
this->byte_strides() == byte_strides