QuantScheme¶
- class qlip.quantization.QuantScheme(type=<factory>, n_bit=8, symmetric=False)¶
Bases:
MappingClass which keeps information about quantization scheme. This class is used in qlip.quantization.quantizers.BaseQuantizer interface to evaluate current scale parameter value.
Variables
type (
str) – Allows values: int, uint and float. Default is int.n_bit (
int) – Number of bits for quantization. Default is 8.symmetric (
bool) – Allows values: True and False. Default is False.