Home
last modified time | relevance | path

Searched refs:max_element (Results 1 – 25 of 105) sorted by relevance

12345

/external/libcxx/test/std/algorithms/alg.sorting/alg.min.max/
Dmax_element_comp.pass.cpp31 Iter i = std::max_element(first, last, std::greater<int>()); in test()
68 assert(first == std::max_element(first, last, p)); in test_eq0()
90 constexpr auto p = std::max_element(il, il+8, less()); in constexpr_test()
Dmax_element.pass.cpp29 Iter i = std::max_element(first, last); in test()
70 constexpr auto p = std::max_element(il,il+8); in constexpr_test()
Drequires_forward_iterator.fail.cpp30 std::max_element(Iter(b), Iter(e)); in main()
/external/webrtc/webrtc/modules/video_coding/codecs/test/
Dstats.cc102 frame = std::max_element(stats_.begin(), stats_.end(), LessForEncodeTime); in PrintSummary()
128 frame = std::max_element(decoded_frames.begin(), decoded_frames.end(), in PrintSummary()
145 frame = std::max_element(stats_.begin(), stats_.end(), LessForEncodedSize); in PrintSummary()
169 frame = std::max_element(stats_.begin(), stats_.end(), LessForBitRate); in PrintSummary()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dstate_funcs.h57 auto maxXi = std::max_element(std::begin(_xi), &_xi[numSamples]); in CalcTileSampleOffsets()
63 auto maxYi = std::max_element(std::begin(_yi), &_yi[numSamples]); in CalcTileSampleOffsets()
/external/tensorflow/tensorflow/core/kernels/
Dtopk_op_gpu.h322 const Entry<T>& max_element = max_heap.root();
323 top_k_values[rank] = max_element.value;
324 int shard_index = max_element.index;
334 const Entry<T>& max_element = max_heap.root();
335 top_k_values[last_k] = max_element.value;
336 int shard_index = max_element.index;
Dmfcc_test.cc90 EXPECT_EQ(output.begin() + 1, std::max_element(output.begin(), output.end())); in TEST()
/external/XNNPACK/test/
Ddwconv-microkernel-tester.h170 …} while (input.size() > 1 && *std::max_element(input.cbegin(), input.cend()) == *std::min_element(…
173 …} while (kernel.size() > 1 && *std::max_element(kernel.cbegin(), kernel.cend()) == *std::min_eleme…
202 const int32_t accumulated_max = *std::max_element(accumulators.cbegin(), accumulators.cend());
299 const float accumulated_max = *std::max_element(output_ref.cbegin(), output_ref.cend());
Dgemm-microkernel-tester.h233 …} while (a.size() > 1 && *std::max_element(a.cbegin(), a.cend()) == *std::min_element(a.cbegin(), …
236 …} while (b.size() > 1 && *std::max_element(b.cbegin(), b.cend()) == *std::min_element(b.cbegin(), …
259 const int32_t accumulated_max = *std::max_element(acc.cbegin(), acc.cend());
334 …} while (a.size() > 1 && *std::max_element(a.cbegin(), a.cend()) == *std::min_element(a.cbegin(), …
337 …} while (b.size() > 1 && *std::max_element(b.cbegin(), b.cend()) == *std::min_element(b.cbegin(), …
389 const int32_t accumulated_max = *std::max_element(acc.cbegin(), acc.cend());
492 const float accumulated_max = *std::max_element(c_ref.cbegin(), c_ref.cend());
566 const float accumulated_max = *std::max_element(c_ref.cbegin(), c_ref.cend());
645 const float accumulated_max = *std::max_element(c_ref.cbegin(), c_ref.cend());
736 const float accumulated_max = *std::max_element(c_ref.cbegin(), c_ref.cend());
[all …]
Dadd-operator-tester.h193 ASSERT_NE(*std::max_element(a.cbegin(), a.cend()), *std::min_element(a.cbegin(), a.cend())); in TestQ8()
194 ASSERT_NE(*std::max_element(b.cbegin(), b.cend()), *std::min_element(b.cbegin(), b.cend())); in TestQ8()
267 const float accumulated_max = *std::max_element(y_ref.cbegin(), y_ref.cend()); in TestF32()
Draddexpminusmax-microkernel-tester.h56 const float x_max = *std::max_element(x.begin(), x.begin() + elements()); in Test()
Dsoftmax-operator-tester.h128 const int32_t max_input = *std::max_element( in TestQ8()
194 const double max_input = *std::max_element( in TestF32()
Dvscaleexpminusmax-microkernel-tester.h68 const float x_max = *std::max_element(x.begin(), x.begin() + elements()); in Test()
Draddstoreexpminusmax-microkernel-tester.h59 const float x_max = *std::max_element(x.begin(), x.begin() + elements()); in Test()
Drequantization-tester.h275 *std::max_element(outputs.cbegin(), outputs.cend()), in testRandomCasesPrecise()
315 *std::max_element(outputs.cbegin(), outputs.cend()), in testRandomCasesApproximate()
364 *std::max_element(outputs.cbegin(), outputs.cend()), in testRandomCasesAgainstReference()
Dmaxpool-microkernel-tester.h174 …} while (input.size() > 1 && *std::max_element(input.cbegin(), input.cend()) == *std::min_element(…
268 const float accumulated_max = *std::max_element(output_ref.cbegin(), output_ref.cend());
Dgavgpool-spchw-microkernel-tester.h103 const float accumulated_max = *std::max_element(y_ref.cbegin(), y_ref.cend());
/external/tensorflow/tensorflow/compiler/xla/tools/
Dshow_text_literal.cc47 float max = *std::max_element(literal.data<float>().begin(), in main()
/external/tensorflow/tensorflow/python/keras/layers/preprocessing/
Dcategorical_encoding.py344 max_element = data[self.MAX_VALUE_IDX]
347 output_dict[_NUM_ELEMENTS_NAME] = max_element + 1
357 doc_counts = [document_counts[i]["count"] for i in range(max_element + 1)]
/external/libtextclassifier/native/lang_id/common/math/
Dsoftmax.cc85 const float max_score = *std::max_element(scores.begin(), scores.end()); in ComputeSoftmax()
Dalgorithm.h35 std::max_element(elements.begin(), elements.end())); in GetArgMax()
/external/tensorflow/tensorflow/core/grappler/costs/
Drobust_stats.cc49 const auto lower_middle = std::max_element(values.begin(), middle); in Median()
/external/angle/src/libANGLE/
DOverlayWidgets.cpp325 const size_t maxValue = *std::max_element(commandGraphSize->runningValues.begin(), in AppendVulkanCommandGraphSize()
352 const size_t maxValue = *std::max_element(renderPassCount->runningValues.begin(), in AppendVulkanRenderPassCount()
381 auto maxValueIter = std::max_element(histogram.rbegin(), histogram.rend()); in AppendVulkanSecondaryCommandBufferPoolWaste()
/external/deqp-deps/amber/src/vulkan/
Dpush_constant.cc46 it = std::max_element( in GetVkPushConstantRange()
/external/webrtc/webrtc/modules/audio_processing/transient/
Dtransient_detector.cc138 return *std::max_element(previous_results_.begin(), previous_results_.end()); in Detect()

12345