TfLiteGpuDelegateOptionsV2 class

Wraps TfLiteGpuDelegateOptionsV2 for android gpu delegate

Inheritance
Implemented types
Available extensions

Properties

address Pointer<T>

Available on T, provided by the StructAddress extension

The memory address of the underlying data.
no setter
hashCode int
The hash code for this object.
no setterinherited
inferencePreference int
Preference is defined in TfLiteGpuInferenceUsage.
getter/setter pair
inferencePriority1 int
getter/setter pair
inferencePriority2 int
getter/setter pair
inferencePriority3 int
getter/setter pair
isPrecisionLossAllowed int
When set to zero, computations are carried out in maximal possible precision. Otherwise, the GPU may quantify tensors, downcast values, process in FP16 to increase performance. For most models precision loss is warranted. OBSOLETE: to be removed
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Static Methods

allocate(bool isPrecisionLossAllowed, TfLiteGpuInferenceUsage inferencePreference, TfLiteGpuInferencePriority inferencePriority1, TfLiteGpuInferencePriority inferencePriority2, TfLiteGpuInferencePriority inferencePriority3) Pointer<TfLiteGpuDelegateOptionsV2>