Home
last modified time | relevance | path

Searched refs:modelFile (Results 1 – 7 of 7) sorted by relevance

/external/tensorflow/tensorflow/lite/java/src/main/java/org/tensorflow/lite/
DInterpreter.java151 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/
DModelFileManagerTest.java84 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/
DOvicValidator.java45 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/
DTextClassifierImpl.java765 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());
DModelFileManager.java307 .map(modelFile -> modelFile.transform(ModelFile::toModelInfo)) in toModelInfos()
/external/skqp/tools/skqp/
Dmake_gmkb.go206 modelFile, err := os.Create(path.Join(output, "models.txt"))
211 fmt.Fprintln(modelFile, v)
/external/tensorflow/tensorflow/lite/g3doc/guide/
Dinference.md183 public Interpreter(@NotNull File modelFile);