-
#include "tensorstore/contiguous_layout.h"
-
bool tensorstore::IsValidPermutation(
span<const DimensionIndex> permutation); Returns
true
ifpermutation
is a valid permutation of{0, 1, ..., permutation.size()-1}
.
#include "tensorstore/contiguous_layout.h"
Returns true
if permutation
is a valid permutation of
{0, 1, ..., permutation.size()-1}
.