模型开发接口
推理部署接口
API 相关说明
Apply fake quantization to the inp tensor.
inp (Tensor) – the input tensor which need to be faked.
Tensor
qparams (QParams) – to get mode, qmin, qmax, scale and zero_point from.
QParams
previous
megengine.quantization.fake_quant_bias
next
megengine.traced_module