Searched refs:setUseNNAPI (Results 1 – 5 of 5) sorted by relevance
94 public Options setUseNNAPI(boolean useNNAPI) { in setUseNNAPI() method in Interpreter.Options360 public void setUseNNAPI(boolean useNNAPI) { in setUseNNAPI() method in Interpreter362 wrapper.setUseNNAPI(useNNAPI); in setUseNNAPI()
73 setUseNNAPI(options.useNNAPI.booleanValue()); in init()183 void setUseNNAPI(boolean useNNAPI) { in setUseNNAPI() method in NativeInterpreterWrapper
181 tfliteOptions.setUseNNAPI(false); in useCPU()186 tfliteOptions.setUseNNAPI(true); in useNNAPI()
64 new Interpreter(MODEL_FILE, new Interpreter.Options().setNumThreads(2).setUseNNAPI(true)); in testInterpreterWithOptions()329 new Interpreter.Options().setUseNNAPI(true).setAllowFp16PrecisionForFp32(true)); in testTurnOnNNAPI()
72 FLOAT_MODEL_PATH, new Interpreter.Options().setNumThreads(2).setUseNNAPI(true)); in testConstructorWithOptions()