mltk.core.TfliteQuantization¶
- class TfliteQuantization[source]¶
Wrapper for tensor quantization
Refer to Quantization Specification for more details.
Properties
Number of channels.
Quantization dimension
Quantization scalers as list of float values
Quantization zero points as list of integers
Methods
InitFromBuf
InitFromObj
Pack
- property scale: List[float]¶
Quantization scalers as list of float values
- Return type:
List
[float
]
- property zeropoint: List[int]¶
Quantization zero points as list of integers
- Return type:
List
[int
]
- property quantization_dimension: int¶
Quantization dimension
- Return type:
int