Searched refs:top_result_pq (Results 1 – 6 of 6) sorted by relevance
/external/tensorflow/tensorflow/lite/examples/label_image/ |
D | get_top_n_impl.h | 36 top_result_pq; in get_top_n() local 51 top_result_pq.push(std::pair<float, int>(value, i)); in get_top_n() 54 if (top_result_pq.size() > num_results) { in get_top_n() 55 top_result_pq.pop(); in get_top_n() 60 while (!top_result_pq.empty()) { in get_top_n() 61 top_results->push_back(top_result_pq.top()); in get_top_n() 62 top_result_pq.pop(); in get_top_n()
|
/external/tensorflow/tensorflow/lite/examples/ios/simple/ |
D | RunModelViewController.mm | 54 top_result_pq; 66 top_result_pq.push(std::pair<float, int>(value, i)); 69 if (top_result_pq.size() > num_results) { 70 top_result_pq.pop(); 75 while (!top_result_pq.empty()) { 76 top_results->push_back(top_result_pq.top()); 77 top_result_pq.pop();
|
/external/tensorflow/tensorflow/examples/ios/camera/ |
D | tensorflow_utils.mm | 58 top_result_pq; 70 top_result_pq.push(std::pair<float, int>(value, i)); 73 if (top_result_pq.size() > num_results) { 74 top_result_pq.pop(); 79 while (!top_result_pq.empty()) { 80 top_results->push_back(top_result_pq.top()); 81 top_result_pq.pop();
|
/external/tensorflow/tensorflow/examples/ios/simple/ |
D | RunModelViewController.mm | 74 std::greater<std::pair<float, int> > > top_result_pq; 86 top_result_pq.push(std::pair<float, int>(value, i)); 89 if (top_result_pq.size() > num_results) { 90 top_result_pq.pop(); 95 while (!top_result_pq.empty()) { 96 top_results->push_back(top_result_pq.top()); 97 top_result_pq.pop();
|
/external/tensorflow/tensorflow/examples/ios/benchmark/ |
D | BenchmarkViewController.mm | 76 top_result_pq; 88 top_result_pq.push(std::pair<float, int>(value, i)); 91 if (top_result_pq.size() > num_results) { 92 top_result_pq.pop(); 97 while (!top_result_pq.empty()) { 98 top_results->push_back(top_result_pq.top()); 99 top_result_pq.pop();
|
/external/tensorflow/tensorflow/lite/examples/ios/camera/ |
D | CameraExampleViewController.mm | 93 top_result_pq; 104 top_result_pq.push(std::pair<float, int>(value, i)); 107 if (top_result_pq.size() > num_results) { 108 top_result_pq.pop(); 113 while (!top_result_pq.empty()) { 114 top_results->push_back(top_result_pq.top()); 115 top_result_pq.pop();
|