Searched refs:modelFile (Results 1 – 7 of 7) sorted by relevance
/external/tensorflow/tensorflow/lite/java/src/main/java/org/tensorflow/lite/ |
D | Interpreter.java | 151 public Interpreter(@NonNull File modelFile) { in Interpreter() argument 152 this(modelFile, /*options = */ null); in Interpreter() 164 public Interpreter(@NonNull File modelFile, int numThreads) { in Interpreter() argument 165 this(modelFile, new Options().setNumThreads(numThreads)); in Interpreter() 176 public Interpreter(@NonNull File modelFile, Options options) { in Interpreter() argument 177 wrapper = new NativeInterpreterWrapper(modelFile.getAbsolutePath(), options); in Interpreter()
|
/external/libtextclassifier/java/tests/instrumentation/src/com/android/textclassifier/ |
D | ModelFileManagerTest.java | 84 ModelFileManager.ModelFile modelFile = in get() local 86 when(modelFileSupplier.get()).thenReturn(ImmutableList.of(modelFile)); in get() 91 assertThat(modelFiles.get(0)).isEqualTo(modelFile); in get() 322 ModelFileManager.ModelFile modelFile = in modelFile_toModelInfo() local 326 ModelInfo modelInfo = modelFile.toModelInfo(); in modelFile_toModelInfo() 344 .map(modelFile -> modelFile.transform(ModelInfo::toModelName).or("")) in modelFile_toModelInfos() 361 modelFiles.stream().map(modelFile -> modelFile.getPath()).collect(Collectors.toList()); in testFileSupplierImpl_updatedFileOnly()
|
/external/tensorflow/tensorflow/lite/java/ovic/src/main/java/org/tensorflow/ovic/ |
D | OvicValidator.java | 45 final String modelFile = args[0]; in main() local 53 MappedByteBuffer model = loadModelFile(modelFile); in main() 73 System.out.printf("Successfully validated %s.%n", modelFile); in main() 76 System.out.printf("Failed to validate %s.%n", modelFile); in main()
|
/external/libtextclassifier/java/src/com/android/textclassifier/ |
D | TextClassifierImpl.java | 765 for (ModelFileManager.ModelFile modelFile : annotatorModelFileManager.listModelFiles()) { 766 printWriter.println(modelFile.toString()); 771 for (ModelFileManager.ModelFile modelFile : langIdModelFileManager.listModelFiles()) { 772 printWriter.println(modelFile.toString()); 777 for (ModelFileManager.ModelFile modelFile : actionsModelFileManager.listModelFiles()) { 778 printWriter.println(modelFile.toString());
|
D | ModelFileManager.java | 307 .map(modelFile -> modelFile.transform(ModelFile::toModelInfo)) in toModelInfos()
|
/external/skqp/tools/skqp/ |
D | make_gmkb.go | 206 modelFile, err := os.Create(path.Join(output, "models.txt")) 211 fmt.Fprintln(modelFile, v)
|
/external/tensorflow/tensorflow/lite/g3doc/guide/ |
D | inference.md | 183 public Interpreter(@NotNull File modelFile);
|