GpuDelegate.Options

public static class GpuDelegate.Options

This class is deprecated.
Use GpuDelegateFactory.Options instead.

Inherits from GpuDelegateFactory.Options for compatibility with existing code.

Inherited Constants

org.tensorflow.lite.gpu.GpuDelegateFactory.Options
int INFERENCE_PREFERENCE_FAST_SINGLE_ANSWER Delegate will be used only once, therefore, bootstrap/init time should be taken into account.
int INFERENCE_PREFERENCE_SUSTAINED_SPEED Prefer maximizing the throughput.

Public Constructors

Inherited Methods

org.tensorflow.lite.gpu.GpuDelegateFactory.Options
boolean
GpuDelegateFactory.Options.GpuBackend
int
String
String
boolean
GpuDelegateFactory.Options
setForceBackend(GpuDelegateFactory.Options.GpuBackend forceBackend)
Sets the GPU Backend.
GpuDelegateFactory.Options
setInferencePreference(int preference)
Sets the inference preference for precision/compilation/runtime tradeoffs.
GpuDelegateFactory.Options
setPrecisionLossAllowed(boolean precisionLossAllowed)
Sets whether precision loss is allowed.
GpuDelegateFactory.Options
setQuantizedModelsAllowed(boolean quantizedModelsAllowed)
Enables running quantized models with the delegate.
GpuDelegateFactory.Options
setSerializationParams(String serializationDir, String modelToken)
Enables serialization on the delegate.
boolean
equals(Object arg0)
final Class<?>
getClass()
int
hashCode()
final void
notify()
final void
notifyAll()
String
toString()
final void
wait(long arg0, int arg1)
final void
wait(long arg0)
final void
wait()

Public Constructors

public Options ()