Searched refs:labelInputStream (Results 1 – 6 of 6) sorted by relevance
/external/tensorflow/tensorflow/lite/java/ovic/src/main/java/org/tensorflow/ovic/ |
D | OvicDetector.java | 59 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()
|
D | OvicClassifier.java | 70 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()
|
D | OvicDetectorBenchmarker.java | 61 public void getReadyToTest(InputStream labelInputStream, MappedByteBuffer model) { in getReadyToTest() argument 64 detector = new OvicDetector(labelInputStream, model); in getReadyToTest()
|
D | OvicClassifierBenchmarker.java | 53 public void getReadyToTest(InputStream labelInputStream, MappedByteBuffer model) { in getReadyToTest() argument 56 classifier = new OvicClassifier(labelInputStream, model); in getReadyToTest()
|
D | OvicBenchmarker.java | 103 public abstract void getReadyToTest(InputStream labelInputStream, MappedByteBuffer model); in getReadyToTest() argument
|
/external/tensorflow/tensorflow/lite/java/ovic/demo/app/ |
D | OvicBenchmarkerActivity.java | 66 private InputStream labelInputStream = null; field in OvicBenchmarkerActivity 107 labelInputStream = am.open(labelPath); in initializeTest() 119 benchmarker.getReadyToTest(labelInputStream, model); in doTestIteration()
|