Home
last modified time | relevance | path

Searched refs:NnApiDelegate (Results 1 – 14 of 14) sorted by relevance

/external/tensorflow/tensorflow/lite/java/src/test/java/org/tensorflow/lite/nnapi/
DNnApiDelegateTest.java37 try (NnApiDelegate delegate = new NnApiDelegate()) { in testBasic()
45 try (NnApiDelegate delegate = new NnApiDelegate(); in testInterpreterWithNnApi()
64 try (NnApiDelegate delegate = new NnApiDelegate(); in testInterpreterWithNnApiAndXNNPack()
81 NnApiDelegate.Options nnApiOptions = new NnApiDelegate.Options(); in testInterpreterWithNnApiAllowFp16()
84 try (NnApiDelegate delegate = new NnApiDelegate(nnApiOptions); in testInterpreterWithNnApiAllowFp16()
101 try (NnApiDelegate delegate = new NnApiDelegate(); in testGetNnApiErrnoReturnsZeroIfNoNnapiCallFailed()
117 NnApiDelegate delegate = new NnApiDelegate(); in testGetNnApiErrnoThrowsExceptionAfterClosingDelegate()
/external/tensorflow/tensorflow/lite/delegates/nnapi/java/src/main/java/org/tensorflow/lite/nnapi/
DNnApiDelegate.java22 public class NnApiDelegate implements Delegate, AutoCloseable { class
141 public NnApiDelegate(Options options) { in NnApiDelegate() method in NnApiDelegate
158 public NnApiDelegate() { in NnApiDelegate() method in NnApiDelegate
DBUILD7 srcs = ["NnApiDelegate.java"],
/external/tensorflow/tensorflow/lite/java/src/test/java/org/tensorflow/lite/
DInterpreterFlexTest.java27 import org.tensorflow.lite.nnapi.NnApiDelegate;
63 try (NnApiDelegate delegate = new NnApiDelegate(); in testFlexModelDelegateAutomaticallyAppliedBeforeOtherDelegates()
/external/tensorflow/tensorflow/lite/java/demo/app/src/main/java/com/example/android/tflitecamerademo/
DImageClassifier.java43 import org.tensorflow.lite.nnapi.NnApiDelegate;
101 NnApiDelegate nnapiDelegate = null;
189 nnapiDelegate = new NnApiDelegate(); in useNNAPI()
/external/tensorflow/tensorflow/lite/delegates/nnapi/
Dnnapi_delegate_disabled.cc21 TfLiteDelegate* NnApiDelegate() { in NnApiDelegate() function
Dnnapi_delegate.h335 TfLiteDelegate* NnApiDelegate();
Dnnapi_delegate.cc5211 TfLiteDelegate* NnApiDelegate() { in NnApiDelegate() function
/external/tensorflow/tensorflow/lite/g3doc/performance/
Dnnapi.md45 import org.tensorflow.lite.nnapi.NnApiDelegate;
48 NnApiDelegate nnApiDelegate = null;
51 nnApiDelegate = new NnApiDelegate();
178 `setUseNnapiCpu` to `true` in the `NnApiDelegate.Options` object.
/external/tensorflow/tensorflow/lite/java/src/main/java/org/tensorflow/lite/
DNativeInterpreterWrapper.java26 import org.tensorflow.lite.nnapi.NnApiDelegate;
490 NnApiDelegate optionalNnApiDelegate = new NnApiDelegate(); in applyDelegates()
/external/tensorflow/tensorflow/lite/tools/evaluation/
Dutils.cc100 NnApiDelegate(), in CreateNNAPIDelegate()
/external/tensorflow/tensorflow/lite/c/
Dc_api.cc289 if (interpreter->ModifyGraphWithDelegate(tflite::NnApiDelegate()) != in InterpreterCreateWithOpResolver()
/external/tensorflow/tensorflow/lite/testing/nnapi_tflite_zip_tests/
Dtflite_driver.cc350 if (interpreter_->ModifyGraphWithDelegate(NnApiDelegate()) != kTfLiteOk) { in Invoke()
/external/tensorflow/
DRELEASE.md82 * Use `NnApiDelegate()` and related delegate configuration methods
653 * Deprecates `Interpreter::UseNNAPI(bool)` C++ API. Use `NnApiDelegate()`