-
#include "tensorstore/strided_layout.h"
-
template <typename LayoutOrder>
requires IsContiguousLayoutOrder<
LayoutOrder,
RankConstraint::FromInlineRank(Rank)> &&
(array_origin_kind == offset_origin) &&
(container_kind == container)
explicit tensorstore::StridedLayout<Rank, OriginKind, CKind>::
StridedLayout(
LayoutOrder order,
Index element_stride,
BoxView<RankConstraint::FromInlineRank(Rank)> domain); -
template <typename LayoutOrder>
requires IsContiguousLayoutOrder<
LayoutOrder,
RankConstraint::FromInlineRank(Rank)> &&
(container_kind == container)
explicit tensorstore::StridedLayout<Rank, OriginKind, CKind>::
StridedLayout(LayoutOrder order,
Index element_stride,
span<const Index,
RankConstraint::FromInlineRank(Rank)> shape); -
template <typename LayoutOrder, DimensionIndex R>
requires (CKind == container) &&
IsContiguousLayoutOrder<
LayoutOrder,
RankConstraint::FromInlineRank(Rank)> &&
(RankConstraint::Implies(R, static_rank))
explicit tensorstore::StridedLayout<Rank, OriginKind, CKind>::
StridedLayout(LayoutOrder order,
Index element_stride,
const Index (&shape)[R]); Constructs a contiguous layout with the specified domain and element stride.
Refer to the documentation of
InitializeContiguousLayout
.