Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/java/ovic/src/main/java/org/tensorflow/ovic/
DOvicDetector.java59 OvicDetector(InputStream labelInputStream, MappedByteBuffer model) throws IOException { in OvicDetector() argument
61 labelList = loadLabelList(labelInputStream); in OvicDetector()
105 private static List<String> loadLabelList(InputStream labelInputStream) throws IOException { in loadLabelList() argument
108 new BufferedReader(new InputStreamReader(labelInputStream, StandardCharsets.UTF_8))) { in loadLabelList()
DOvicClassifier.java70 public OvicClassifier(InputStream labelInputStream, MappedByteBuffer model) in OvicClassifier() argument
75 labelList = loadLabelList(labelInputStream); in OvicClassifier()
164 private static List<String> loadLabelList(InputStream labelInputStream) throws IOException { in loadLabelList() argument
167 new BufferedReader(new InputStreamReader(labelInputStream, StandardCharsets.UTF_8))) { in loadLabelList()
DOvicDetectorBenchmarker.java61 public void getReadyToTest(InputStream labelInputStream, MappedByteBuffer model) { in getReadyToTest() argument
64 detector = new OvicDetector(labelInputStream, model); in getReadyToTest()
DOvicClassifierBenchmarker.java53 public void getReadyToTest(InputStream labelInputStream, MappedByteBuffer model) { in getReadyToTest() argument
56 classifier = new OvicClassifier(labelInputStream, model); in getReadyToTest()
DOvicBenchmarker.java103 public abstract void getReadyToTest(InputStream labelInputStream, MappedByteBuffer model); in getReadyToTest() argument
/external/tensorflow/tensorflow/lite/java/ovic/demo/app/
DOvicBenchmarkerActivity.java66 private InputStream labelInputStream = null; field in OvicBenchmarkerActivity
107 labelInputStream = am.open(labelPath); in initializeTest()
119 benchmarker.getReadyToTest(labelInputStream, model); in doTestIteration()