Searched refs:NnApiDelegate (Results 1 – 14 of 14) sorted by relevance
37 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()
22 public class NnApiDelegate implements Delegate, AutoCloseable { class141 public NnApiDelegate(Options options) { in NnApiDelegate() method in NnApiDelegate158 public NnApiDelegate() { in NnApiDelegate() method in NnApiDelegate
7 srcs = ["NnApiDelegate.java"],
27 import org.tensorflow.lite.nnapi.NnApiDelegate;63 try (NnApiDelegate delegate = new NnApiDelegate(); in testFlexModelDelegateAutomaticallyAppliedBeforeOtherDelegates()
43 import org.tensorflow.lite.nnapi.NnApiDelegate;101 NnApiDelegate nnapiDelegate = null;189 nnapiDelegate = new NnApiDelegate(); in useNNAPI()
21 TfLiteDelegate* NnApiDelegate() { in NnApiDelegate() function
335 TfLiteDelegate* NnApiDelegate();
5211 TfLiteDelegate* NnApiDelegate() { in NnApiDelegate() function
45 import org.tensorflow.lite.nnapi.NnApiDelegate;48 NnApiDelegate nnApiDelegate = null;51 nnApiDelegate = new NnApiDelegate();178 `setUseNnapiCpu` to `true` in the `NnApiDelegate.Options` object.
26 import org.tensorflow.lite.nnapi.NnApiDelegate;490 NnApiDelegate optionalNnApiDelegate = new NnApiDelegate(); in applyDelegates()
100 NnApiDelegate(), in CreateNNAPIDelegate()
289 if (interpreter->ModifyGraphWithDelegate(tflite::NnApiDelegate()) != in InterpreterCreateWithOpResolver()
350 if (interpreter_->ModifyGraphWithDelegate(NnApiDelegate()) != kTfLiteOk) { in Invoke()
82 * Use `NnApiDelegate()` and related delegate configuration methods653 * Deprecates `Interpreter::UseNNAPI(bool)` C++ API. Use `NnApiDelegate()`