Home
last modified time | relevance | path

Searched refs:top_result_pq (Results 1 – 6 of 6) sorted by relevance

/external/tensorflow/tensorflow/lite/examples/label_image/
Dget_top_n_impl.h36 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/
DRunModelViewController.mm54 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/
Dtensorflow_utils.mm58 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/
DRunModelViewController.mm74 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/
DBenchmarkViewController.mm76 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/
DCameraExampleViewController.mm93 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();