-
#include "tensorstore/contiguous_layout.h"
-
template <typename LayoutOrder, DimensionIndex Rank>
requires IsContiguousLayoutOrder<LayoutOrder, Rank>
void tensorstore::ConvertToContiguousLayoutPermutation(
LayoutOrder source,
span<DimensionIndex, Rank> target); Normalizes
source
to a permutation if it is not already a permuation.