GpuDelegateOptionsV2 class
GPU delegate options for Android
Constructors
-
GpuDelegateOptionsV2({bool isPrecisionLossAllowed = false, TfLiteGpuInferenceUsage inferencePreference = TfLiteGpuInferenceUsage.fastSingleAnswer, TfLiteGpuInferencePriority inferencePriority1 = TfLiteGpuInferencePriority.maxPrecision, TfLiteGpuInferencePriority inferencePriority2 = TfLiteGpuInferencePriority.auto, TfLiteGpuInferencePriority inferencePriority3 = TfLiteGpuInferencePriority.auto, List<
TfLiteGpuExperimentalFlags> experimentalFlags = const [TfLiteGpuExperimentalFlags.enableQuant], int maxDelegatePartitions = 1}) -
Creates GpuDelegateOptionsV2 with specified parameters
factory
Properties
-
base
→ Pointer<
TfLiteGpuDelegateOptionsV2> -
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
delete(
) → void -
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