LiteRtLmActivationDataType enum

LiteRT-LM activation data type override for native .litertlm engines.

Values mirror upstream LiteRT-LM ActivationDataType integer values exposed through litert_lm_engine_settings_set_activation_data_type.

Inheritance
Available extensions

Values

float32 → const LiteRtLmActivationDataType

Use float32 activations.

const LiteRtLmActivationDataType(0, 'float32')
float16 → const LiteRtLmActivationDataType

Use float16 activations.

const LiteRtLmActivationDataType(1, 'float16')
int16 → const LiteRtLmActivationDataType

Use int16 activations.

const LiteRtLmActivationDataType(2, 'int16')
int8 → const LiteRtLmActivationDataType

Use int8 activations.

const LiteRtLmActivationDataType(3, 'int8')

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
nativeValue → int
Native LiteRT-LM C ABI value.
final
optionName → String
Stable CLI/docs name.
final
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<LiteRtLmActivationDataType>
A constant List of the values in this enum, in order of their declaration.