Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/java/src/main/java/org/tensorflow/lite/
DInterpreter.java94 public Options setUseNNAPI(boolean useNNAPI) { in setUseNNAPI() method in Interpreter.Options
360 public void setUseNNAPI(boolean useNNAPI) { in setUseNNAPI() method in Interpreter
362 wrapper.setUseNNAPI(useNNAPI); in setUseNNAPI()
DNativeInterpreterWrapper.java73 setUseNNAPI(options.useNNAPI.booleanValue()); in init()
183 void setUseNNAPI(boolean useNNAPI) { in setUseNNAPI() method in NativeInterpreterWrapper
/external/tensorflow/tensorflow/lite/java/demo/app/src/main/java/com/example/android/tflitecamerademo/
DImageClassifier.java181 tfliteOptions.setUseNNAPI(false); in useCPU()
186 tfliteOptions.setUseNNAPI(true); in useNNAPI()
/external/tensorflow/tensorflow/lite/java/src/test/java/org/tensorflow/lite/
DInterpreterTest.java64 new Interpreter(MODEL_FILE, new Interpreter.Options().setNumThreads(2).setUseNNAPI(true)); in testInterpreterWithOptions()
329 new Interpreter.Options().setUseNNAPI(true).setAllowFp16PrecisionForFp32(true)); in testTurnOnNNAPI()
DNativeInterpreterWrapperTest.java72 FLOAT_MODEL_PATH, new Interpreter.Options().setNumThreads(2).setUseNNAPI(true)); in testConstructorWithOptions()