API 相关说明
可根据observer的scale和zero_point参数来进行量化(Quantization)和反量化(Dequantization)的模块。
dtype (Union[str, QuantDtypeMeta]) – a string or QuantDtypeMeta indicating the target quantization dtype of input.
Union
str
QuantDtypeMeta
enable (bool) – whether do normal_forward or fake_quant_forward.
bool
normal_forward
fake_quant_forward
上一页
PassiveObserver
下一页
TQT