Home
last modified time | relevance | path

Searched refs:sortedLabels (Results 1 – 5 of 5) sorted by relevance

/external/tensorflow/tensorflow/lite/java/ovic/src/main/java/org/tensorflow/ovic/
DOvicClassifier.java59 private PriorityQueue<Map.Entry<Integer, Float>> sortedLabels = field in OvicClassifier
182 sortedLabels.add(new AbstractMap.SimpleEntry<>(i, labelProbArray[0][i])); in computeTopKLabels()
183 if (sortedLabels.size() > RESULTS_TO_SHOW) { in computeTopKLabels()
184 sortedLabels.poll(); in computeTopKLabels()
188 if (sortedLabels.size() != RESULTS_TO_SHOW) { in computeTopKLabels()
191 + sortedLabels.size() in computeTopKLabels()
197 Map.Entry<Integer, Float> label = sortedLabels.poll(); in computeTopKLabels()
/external/tensorflow/tensorflow/lite/java/demo/app/src/main/java/com/example/android/tflitecamerademo/
DImageClassifier.java87 private PriorityQueue<Map.Entry<String, Float>> sortedLabels = field in ImageClassifier
248 sortedLabels.add( in printTopKLabels()
250 if (sortedLabels.size() > RESULTS_TO_SHOW) { in printTopKLabels()
251 sortedLabels.poll(); in printTopKLabels()
255 final int size = sortedLabels.size(); in printTopKLabels()
257 Map.Entry<String, Float> label = sortedLabels.poll(); in printTopKLabels()
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/
DMethodDefinition.java584 … ArrayList<LabelMethodItem> sortedLabels = new ArrayList<LabelMethodItem>(labelCache.getLabels()); in setLabelSequentialNumbers() local
587 Collections.sort(sortedLabels); in setLabelSequentialNumbers()
589 for (LabelMethodItem labelMethodItem: sortedLabels) { in setLabelSequentialNumbers()
/external/tensorflow/tensorflow/examples/ios/camera/
DCameraExampleViewController.mm482 NSArray *sortedLabels = [candidateLabels
500 for (NSDictionary *entry in sortedLabels) {
/external/tensorflow/tensorflow/lite/examples/ios/camera/
DCameraExampleViewController.mm509 NSArray* sortedLabels =
527 for (NSDictionary* entry in sortedLabels) {