Searched refs:setUseNNAPI (Results 1 – 5 of 5) sorted by relevance
193 interpreterOptions.setUseNNAPI(true); in createModel()
102 public Options setUseNNAPI(boolean useNNAPI) { in setUseNNAPI() method in Interpreter.Options
82 .setUseNNAPI(true) in testInterpreterWithOptions()407 new Interpreter.Options().setUseNNAPI(true).setAllowFp16PrecisionForFp32(true)); in testTurnOnNNAPI()
72 FLOAT_MODEL_PATH, new Interpreter.Options().setNumThreads(2).setUseNNAPI(true))) { in testConstructorWithOptions()
651 * Removes deprecated `Interpreter.setUseNNAPI(boolean)` Java API. Use652 `Interpreter.Options.setUseNNAPI` instead.