Home
last modified time | relevance | path

Searched refs:GpuDelegate (Results 1 – 9 of 9) sorted by relevance

/external/tensorflow/tensorflow/lite/java/src/test/java/org/tensorflow/lite/gpu/
DGpuDelegateTest.java46 try (GpuDelegate delegate = new GpuDelegate()) { in testBasic()
54 try (GpuDelegate delegate = new GpuDelegate(); in testInterpreterWithGpu_FloatModel()
80 try (GpuDelegate delegate = new GpuDelegate(); in testInterpreterWithGpu_QuantModelRunWithDelegate()
101 try (GpuDelegate delegate = in testInterpreterWithGpu_QuantModelRunOnCPU()
102 new GpuDelegate(new GpuDelegate.Options().setQuantizedModelsAllowed(false)); in testInterpreterWithGpu_QuantModelRunOnCPU()
/external/tensorflow/tensorflow/lite/delegates/gpu/java/src/main/java/org/tensorflow/lite/gpu/
DGpuDelegate.java33 public class GpuDelegate implements Delegate, Closeable { class
94 public GpuDelegate(Options options) { in GpuDelegate() method in GpuDelegate
103 public GpuDelegate() { in GpuDelegate() method in GpuDelegate
DCompatibilityList.java62 public GpuDelegate.Options getBestOptionsForThisDevice() { in getBestOptionsForThisDevice()
64 return new GpuDelegate.Options(); in getBestOptionsForThisDevice()
DBUILD9 "GpuDelegate.java",
/external/tensorflow/tensorflow/lite/java/demo/app/src/main/java/com/example/android/tflitecamerademo/
DImageClassifier.java42 import org.tensorflow.lite.gpu.GpuDelegate;
99 GpuDelegate gpuDelegate = null;
175 GpuDelegate.Options options = new GpuDelegate.Options(); in useGpu()
178 gpuDelegate = new GpuDelegate(options); in useGpu()
/external/tensorflow/tensorflow/lite/g3doc/performance/
Dgpu_advanced.md87 the `GpuDelegate` through `Interpreter.Options`.
96 import org.tensorflow.lite.gpu.GpuDelegate
104 this.addDelegate(GpuDelegate(delegateOptions))
124 import org.tensorflow.lite.gpu.GpuDelegate;
132 GpuDelegate.Options delegateOptions = compatList.getBestOptionsForThisDevice();
133 GpuDelegate gpuDelegate = new GpuDelegate(delegateOptions);
349 GpuDelegate delegate = new GpuDelegate(new GpuDelegate.Options().setQuantizedModelsAllowed(false));
Dgpu.md160 where it is run. Otherwise, `TfLiteGpuDelegate Invoke: GpuDelegate must run on
170 AAR as above, import `org.tensorflow.lite.gpu.GpuDelegate` module, and use
180 import org.tensorflow.lite.gpu.GpuDelegate
188 this.addDelegate(GpuDelegate(delegateOptions))
208 import org.tensorflow.lite.gpu.GpuDelegate;
216 GpuDelegate.Options delegateOptions = compatList.getBestOptionsForThisDevice();
217 GpuDelegate gpuDelegate = new GpuDelegate(delegateOptions);
/external/tensorflow/tensorflow/lite/g3doc/inference_with_metadata/
Dcodegen.md50 is is run. Otherwise, TfLiteGpuDelegate Invoke: GpuDelegate must run on the same
73 import org.tensorflow.lite.gpu.GpuDelegate
96 import org.tensorflow.lite.gpu.GpuDelegate;
/external/tensorflow/tensorflow/lite/g3doc/guide/
Dget_started.md191 GpuDelegate delegate = new GpuDelegate();