Searched refs:GpuDelegate (Results 1 – 9 of 9) sorted by relevance
46 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()
33 public class GpuDelegate implements Delegate, Closeable { class94 public GpuDelegate(Options options) { in GpuDelegate() method in GpuDelegate103 public GpuDelegate() { in GpuDelegate() method in GpuDelegate
62 public GpuDelegate.Options getBestOptionsForThisDevice() { in getBestOptionsForThisDevice()64 return new GpuDelegate.Options(); in getBestOptionsForThisDevice()
9 "GpuDelegate.java",
42 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()
87 the `GpuDelegate` through `Interpreter.Options`.96 import org.tensorflow.lite.gpu.GpuDelegate104 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));
160 where it is run. Otherwise, `TfLiteGpuDelegate Invoke: GpuDelegate must run on170 AAR as above, import `org.tensorflow.lite.gpu.GpuDelegate` module, and use180 import org.tensorflow.lite.gpu.GpuDelegate188 this.addDelegate(GpuDelegate(delegateOptions))208 import org.tensorflow.lite.gpu.GpuDelegate;216 GpuDelegate.Options delegateOptions = compatList.getBestOptionsForThisDevice();217 GpuDelegate gpuDelegate = new GpuDelegate(delegateOptions);
50 is is run. Otherwise, TfLiteGpuDelegate Invoke: GpuDelegate must run on the same73 import org.tensorflow.lite.gpu.GpuDelegate96 import org.tensorflow.lite.gpu.GpuDelegate;
191 GpuDelegate delegate = new GpuDelegate();