Home
last modified time | relevance | path

Searched refs:IsPermutation (Results 1 – 11 of 11) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/
Dpermutation_util_test.cc23 TEST(PermutationUtilTest, IsPermutation) { in TEST() argument
24 EXPECT_TRUE(IsPermutation({})); in TEST()
25 EXPECT_TRUE(IsPermutation({0})); in TEST()
26 EXPECT_FALSE(IsPermutation({-3})); in TEST()
27 EXPECT_TRUE(IsPermutation({0, 1})); in TEST()
28 EXPECT_FALSE(IsPermutation({1, 1})); in TEST()
29 EXPECT_TRUE(IsPermutation({1, 0})); in TEST()
30 EXPECT_TRUE(IsPermutation({3, 1, 0, 2})); in TEST()
31 EXPECT_FALSE(IsPermutation({3, 0, 2})); in TEST()
Dpermutation_util.h31 bool IsPermutation(absl::Span<const int64> permutation);
45 CHECK(IsPermutation(permutation)); in Permute()
64 CHECK(IsPermutation(permutation)); in PermuteInverse()
Dpermutation_util.cc23 bool IsPermutation(absl::Span<const int64> permutation) { in IsPermutation() function
36 DCHECK(IsPermutation(input_permutation)); in InversePermutation()
Dliteral.cc851 CHECK(shape().rank() == permutation.size() && IsPermutation(permutation)) in Transpose()
/external/webrtc/third_party/abseil-cpp/absl/algorithm/
Dcontainer_test.cc191 TEST_F(NonMutatingTest, IsPermutation) { in TEST_F() argument
/external/abseil-cpp/absl/algorithm/
Dcontainer_test.cc191 TEST_F(NonMutatingTest, IsPermutation) { in TEST_F() argument
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/algorithm/
Dcontainer_test.cc265 TEST_F(NonMutatingTest, IsPermutation) { in TEST_F() argument
/external/libtextclassifier/abseil-cpp/absl/algorithm/
Dcontainer_test.cc265 TEST_F(NonMutatingTest, IsPermutation) { in TEST_F() argument
/external/openscreen/third_party/abseil/src/absl/algorithm/
Dcontainer_test.cc265 TEST_F(NonMutatingTest, IsPermutation) { in TEST_F() argument
/external/tensorflow/tensorflow/compiler/xla/service/
Dshape_inference.cc3098 if (dimensions.size() != operand.rank() || !IsPermutation(dimensions)) { in InferTransposeShape()
Dalgebraic_simplifier.cc2192 CHECK(IsPermutation(permutation)); in OptimizeDotOfReorderContractingDims()