Searched refs:top_results (Results 1 – 10 of 10) sorted by relevance
/external/tensorflow/tensorflow/lite/examples/label_image/ |
D | label_image_test.cc | 47 std::vector<std::pair<float, int>> top_results; in TEST() local 48 get_top_n<uint8_t>(in, 10, 5, 0.025, &top_results, false); in TEST() 49 ASSERT_EQ(top_results.size(), 4); in TEST() 50 ASSERT_EQ(top_results[0].second, 8); in TEST()
|
D | get_top_n_impl.h | 31 float threshold, std::vector<std::pair<float, int>>* top_results, in get_top_n() argument 61 top_results->push_back(top_result_pq.top()); in get_top_n() 64 std::reverse(top_results->begin(), top_results->end()); in get_top_n()
|
D | label_image.cc | 219 std::vector<std::pair<float, int>> top_results; in RunInference() local 228 s->number_of_results, threshold, &top_results, true); in RunInference() 233 &top_results, false); in RunInference() 247 for (const auto& result : top_results) { in RunInference()
|
D | get_top_n.h | 26 float threshold, std::vector<std::pair<float, int>>* top_results,
|
/external/tensorflow/tensorflow/lite/examples/ios/simple/ |
D | RunModelViewController.mm | 50 const float threshold, std::vector<std::pair<float, int> >* top_results) { 76 top_results->push_back(top_result_pq.top()); 79 std::reverse(top_results->begin(), top_results->end()); 188 std::vector<std::pair<float, int> > top_results; 189 GetTopN(output, output_size, kNumResults, kThreshold, &top_results); 193 for (const auto& result : top_results) {
|
/external/tensorflow/tensorflow/examples/ios/simple/ |
D | RunModelViewController.mm | 70 std::vector<std::pair<float, int> >* top_results) { 96 top_results->push_back(top_result_pq.top()); 99 std::reverse(top_results->begin(), top_results->end()); 223 std::vector<std::pair<float, int> > top_results; 224 GetTopN(output->flat<float>(), kNumResults, kThreshold, &top_results); 228 for (const auto& result : top_results) {
|
/external/tensorflow/tensorflow/examples/ios/benchmark/ |
D | BenchmarkViewController.mm | 72 std::vector<std::pair<float, int>>* top_results) { 98 top_results->push_back(top_result_pq.top()); 101 std::reverse(top_results->begin(), top_results->end()); 263 std::vector<std::pair<float, int>> top_results; 264 GetTopN(output->flat<float>(), kNumResults, kThreshold, &top_results); 268 for (const auto& result : top_results) {
|
/external/tensorflow/tensorflow/examples/ios/camera/ |
D | tensorflow_utils.mm | 53 std::vector<std::pair<float, int> >* top_results) { 80 top_results->push_back(top_result_pq.top()); 83 std::reverse(top_results->begin(), top_results->end());
|
D | tensorflow_utils.h | 50 std::vector<std::pair<float, int> >* top_results);
|
/external/tensorflow/tensorflow/lite/examples/ios/camera/ |
D | CameraExampleViewController.mm | 89 const float threshold, std::vector<std::pair<float, int> >* top_results) { 114 top_results->push_back(top_result_pq.top()); 117 std::reverse(top_results->begin(), top_results->end()); 354 std::vector<std::pair<float, int> > top_results; 364 GetTopN(output, output_size, kNumResults, kThreshold, &top_results); 367 GetTopN(output, output_size, kNumResults, kThreshold, &top_results); 371 for (const auto& result : top_results) {
|