GpuDelegateOptionsV2 class
GPU delegate options for Android Options for a delegate that is not deprecated; see the delegate class for why, and prefer PerformanceConfig unless you need this level of control.
Constructors
-
GpuDelegateOptionsV2({bool isPrecisionLossAllowed = false, int inferencePreference = TfLiteGpuInferenceUsage.TFLITE_GPU_INFERENCE_PREFERENCE_FAST_SINGLE_ANSWER, int inferencePriority1 = TfLiteGpuInferencePriority.TFLITE_GPU_INFERENCE_PRIORITY_MAX_PRECISION, int inferencePriority2 = TfLiteGpuInferencePriority.TFLITE_GPU_INFERENCE_PRIORITY_AUTO, int inferencePriority3 = TfLiteGpuInferencePriority.TFLITE_GPU_INFERENCE_PRIORITY_AUTO, List<
int> experimentalFlags = const [TfLiteGpuExperimentalFlags.TFLITE_GPU_EXPERIMENTAL_FLAGS_ENABLE_QUANT], int maxDelegatePartitions = 1, String? serializationDir, String? modelToken}) -
Creates GpuDelegateOptionsV2 with specified parameters
factory
Properties
Methods
-
delete(
) → void - Releases native resources for these options.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited