Searched refs:IsPermutation (Results 1 – 5 of 5) sorted by relevance
111 bool IsPermutation(absl::Span<const int64> permutation, int64 rank) { in IsPermutation() function122 DCHECK(IsPermutation(input_permutation, input_permutation.size())); in InversePermutation()
331 bool IsPermutation(absl::Span<const int64> permutation, int64 rank);344 CHECK(IsPermutation(permutation, data.size())); in Permute()
672 CHECK(IsPermutation(permutation, shape().rank())) in Transpose()
2955 if (!IsPermutation(dimensions, operand.rank())) { in InferTransposeShape()
1736 CHECK(IsPermutation(permutation, permutation.size())); in OptimizeDotOfReorderContractingDims()