Searched refs:IsPermutation (Results 1 – 11 of 11) sorted by relevance
/external/tensorflow/tensorflow/compiler/xla/ |
D | permutation_util_test.cc | 23 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()
|
D | permutation_util.h | 31 bool IsPermutation(absl::Span<const int64> permutation); 45 CHECK(IsPermutation(permutation)); in Permute() 64 CHECK(IsPermutation(permutation)); in PermuteInverse()
|
D | permutation_util.cc | 23 bool IsPermutation(absl::Span<const int64> permutation) { in IsPermutation() function 36 DCHECK(IsPermutation(input_permutation)); in InversePermutation()
|
D | literal.cc | 851 CHECK(shape().rank() == permutation.size() && IsPermutation(permutation)) in Transpose()
|
/external/webrtc/third_party/abseil-cpp/absl/algorithm/ |
D | container_test.cc | 191 TEST_F(NonMutatingTest, IsPermutation) { in TEST_F() argument
|
/external/abseil-cpp/absl/algorithm/ |
D | container_test.cc | 191 TEST_F(NonMutatingTest, IsPermutation) { in TEST_F() argument
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/algorithm/ |
D | container_test.cc | 265 TEST_F(NonMutatingTest, IsPermutation) { in TEST_F() argument
|
/external/libtextclassifier/abseil-cpp/absl/algorithm/ |
D | container_test.cc | 265 TEST_F(NonMutatingTest, IsPermutation) { in TEST_F() argument
|
/external/openscreen/third_party/abseil/src/absl/algorithm/ |
D | container_test.cc | 265 TEST_F(NonMutatingTest, IsPermutation) { in TEST_F() argument
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | shape_inference.cc | 3098 if (dimensions.size() != operand.rank() || !IsPermutation(dimensions)) { in InferTransposeShape()
|
D | algebraic_simplifier.cc | 2192 CHECK(IsPermutation(permutation)); in OptimizeDotOfReorderContractingDims()
|