[cherry-pick 2.0] Support dygraph quant model and avoid the scale to be infinity (#30098)
* fix ininite scale values (#29386)
* Support dygraph quant model (#29927)
* Avoid the scale to be infinity in quant2_int8_mkldnn_pass, test=develop
* support quantized model for paddle2.0 dygraph, test=develop
Co-authored-by: NWojciech Uss <wojciech.uss@intel.com>
Showing
想要评论请 注册 或 登录