-
#include "tensorstore/strided_layout.h" -
explicit tensorstore::StridedLayout<Rank, OriginKind, CKind>::
StridedLayout(
span<const Index, RankConstraint::FromInlineRank(Rank)> shape,
span<const Index, RankConstraint::FromInlineRank(Rank)>
byte_strides); -
template <size_t N>
requires (RankConstraint::Implies(N, static_rank))
explicit tensorstore::StridedLayout<Rank, OriginKind, CKind>::
StridedLayout(const Index (&shape)[N],
const Index (&byte_strides)[N]); Constructs from the specified
shapeandbyte_strides.- Dchecks:¶
std::size(shape) == std::size(byte_strides)