TfliteQuantization class
Quantization parameters of a tensor:
real = (quantized - zeroPoint) * scale.
- Annotations
-
- @experimental
- @immutable
Constructors
- TfliteQuantization({required double scale, required int zeroPoint})
-
Creates quantization parameters.
const
Properties
Methods
-
dequantize(
int value) → double - Converts a quantized value to its real value.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
quantize(
double value) → int - Converts a real value to the nearest quantized value, without clamping it to the tensor type's range.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited