TfLiteGpuExperimentalFlags enum

Used to toggle experimental flags used in the delegate. Note that this is a bitmask, so the values should be 1, 2, 4, 8, ...etc.

Inheritance

Constructors

TfLiteGpuExperimentalFlags()
const

Values

none → const TfLiteGpuExperimentalFlags

TFLITE_GPU_EXPERIMENTAL_FLAGS_NONE = 0,

enableQuant → const TfLiteGpuExperimentalFlags

Enables inference on quantized models with the delegate. NOTE: This is enabled in TfLiteGpuDelegateOptionsV2Default. TFLITE_GPU_EXPERIMENTAL_FLAGS_ENABLE_QUANT = 1 << 0,

clOnly → const TfLiteGpuExperimentalFlags

Enforces execution with the provided backend.

glOnly → const TfLiteGpuExperimentalFlags

TFLITE_GPU_EXPERIMENTAL_FLAGS_GL_ONLY = 1 << 2

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
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

Constants

values → const List<TfLiteGpuExperimentalFlags>
A constant List of the values in this enum, in order of their declaration.