Home
last modified time | relevance | path

Searched refs:nth_element (Results 1 – 25 of 53) sorted by relevance

123

/external/tensorflow/tensorflow/python/kernel_tests/
Dnth_element_op_test.py40 values_op = nn_ops.nth_element(inputs_op, n, reverse=reverse)
120 nn_ops.nth_element(5, 0)
127 nn_ops.nth_element(v, 0).eval(feed_dict={v: 5})
132 nn_ops.nth_element([5], -1)
135 nn_ops.nth_element([5, 6, 3], [1])
141 values = nn_ops.nth_element([5], n)
149 nn_ops.nth_element(inputs, 2)
155 values = nn_ops.nth_element(inputs, n)
175 values = nn_ops.nth_element(inputs, 3)
183 values = nn_ops.nth_element(inputs, 3)
/external/llvm-project/libcxx/test/std/algorithms/alg.sorting/alg.nth.element/
Dnth_element_comp.pass.cpp45 std::nth_element(array, array+M, array+N, std::greater<int>()); in test_one()
47 std::nth_element(array, array+N, array+N, std::greater<int>()); // begin, end, end in test_one()
69 std::nth_element(&d, &d, &d); in main()
84 std::nth_element(v.begin(), v.begin() + v.size()/2, v.end(), indirect_less()); in main()
Dnth_element.pass.cpp34 std::nth_element(array, array+M, array+N); in test_one()
36 std::nth_element(array, array+N, array+N); // begin, end, end in test_one()
58 std::nth_element(&d, &d, &d); in main()
/external/libcxx/test/std/algorithms/alg.sorting/alg.nth.element/
Dnth_element_comp.pass.cpp46 std::nth_element(array, array+M, array+N, std::greater<int>()); in test_one()
48 std::nth_element(array, array+N, array+N, std::greater<int>()); // begin, end, end in test_one()
70 std::nth_element(&d, &d, &d); in main()
85 std::nth_element(v.begin(), v.begin() + v.size()/2, v.end(), indirect_less()); in main()
Dnth_element.pass.cpp33 std::nth_element(array, array+M, array+N); in test_one()
35 std::nth_element(array, array+N, array+N); // begin, end, end in test_one()
57 std::nth_element(&d, &d, &d); in main()
/external/llvm-project/clang/test/Analysis/
Dptr-sort.cpp15 std::nth_element(V1.begin(), V1.begin() + 1, V1.end()); // no-warning in PointerSorting()
24 …std::nth_element(V2.begin(), V2.begin() + 1, V2.end()); // expected-warning {{Sorting pointer-like… in PointerSorting()
/external/llvm-project/pstl/test/std/algorithms/alg.nonmodifying/
Dnth_element.pass.cpp103 std::nth_element(first1, mid1, last1, comp); in operator ()()
104 std::nth_element(exec, first2, mid2, last2, comp); in operator ()()
154 invoke_if(exec, [&]() { nth_element(exec, iter, iter, iter, non_const(std::less<T>())); }); in operator ()()
/external/llvm-project/clang/test/SemaTemplate/
Dtemp_arg_nontype_cxx1z.cpp300 template<size_t n, class List> struct nth_element;
301 template<size_t n, class List> constexpr auto nth_element_v = nth_element<n, List>::value;
304 struct nth_element<n, value_list<v0, vs...>> struct
306 static constexpr auto value = nth_element<n - 1, value_list<vs...>>::value; argument
309 struct nth_element<0, value_list<v0, vs...>> struct
/external/libcxx/fuzzing/
DRoutineNames.txt8 nth_element
Dfuzzing.h30 int nth_element (const uint8_t *data, size_t size);
Dfuzz_test.cpp116 {"nth_element", fuzzing::nth_element},
Dfuzzing.cpp266 int nth_element (const uint8_t *data, size_t size) in nth_element() function
272 std::nth_element(working.begin(), partition_iter, working.end()); in nth_element()
/external/libcxx/test/libcxx/fuzzing/
Dnth_element.cpp35 assert(0 == fuzzing::nth_element(data, size)); in main()
/external/llvm-project/libcxx/utils/google-benchmark/src/
Dstatistics.cc42 std::nth_element(copy.begin(), center, copy.end()); in StatisticsMedian()
50 std::nth_element(copy.begin(), center2, copy.end()); in StatisticsMedian()
/external/llvm-project/llvm/utils/benchmark/src/
Dstatistics.cc42 std::nth_element(copy.begin(), center, copy.end()); in StatisticsMedian()
50 std::nth_element(copy.begin(), center2, copy.end()); in StatisticsMedian()
/external/libcxx/utils/google-benchmark/src/
Dstatistics.cc42 std::nth_element(copy.begin(), center, copy.end()); in StatisticsMedian()
50 std::nth_element(copy.begin(), center2, copy.end()); in StatisticsMedian()
/external/google-benchmark/src/
Dstatistics.cc42 std::nth_element(copy.begin(), center, copy.end()); in StatisticsMedian()
50 std::nth_element(copy.begin(), center2, copy.end()); in StatisticsMedian()
/external/llvm-project/libcxx/test/libcxx/fuzzing/
Dnth_element.pass.cpp24 std::nth_element(working.begin(), partition_iter, working.end()); in LLVMFuzzerTestOneInput()
/external/eigen/unsupported/Eigen/src/BVH/
DKdBVH.h193 std::nth_element(objCenters.begin() + from, objCenters.begin() + mid,
203 nth_element(objCenters.begin() + from, objCenters.begin() + mid,
/external/tensorflow/tensorflow/core/grappler/costs/
Drobust_stats.cc42 std::nth_element(values.begin(), middle, values.end()); in Median()
/external/llvm-project/llvm/tools/llvm-xray/
Dxray-account.cpp282 std::nth_element(Timings.begin(), Timings.begin() + MedianOff, Timings.end()); in getStats()
286 std::nth_element(Timings.begin(), Timings.begin() + (uint64_t)Pct90Off, in getStats()
291 std::nth_element(Timings.begin(), Timings.begin() + (uint64_t)Pct99Off, in getStats()
Dxray-graph.cpp278 std::nth_element(begin, begin + MedianOff, end); in getStats()
281 std::nth_element(begin, begin + Pct90Off, end); in getStats()
284 std::nth_element(begin, begin + Pct99Off, end); in getStats()
/external/tensorflow/tensorflow/core/kernels/
Dnth_element_op.cc109 std::nth_element(buf.begin(), buf.begin() + n, buf.end()); in operator ()()
/external/llvm-project/pstl/
DREADME.md23 …orithms do not allow efficient SIMD execution: `includes`, `inplace_merge`, `merge`, `nth_element`,
/external/catch2/include/internal/benchmark/detail/
Dcatch_stats.cpp121 std::nth_element(first, first + j, last); in weighted_average_quantile()

123