Paddle
Paddle copied to clipboard
add new function ptq first then initialize qat scale with ptq scale
PR types
New features
PR changes
APIs
Describe
instead of save ptq model, then load it before qat, now we can initialize qat scale directly with ptq scale. Two variable are added in config, 'quant_post_first' decides whether ptq first, 'scale_trainable' decides whether to train scale during qat.
你的PR提交成功,感谢你对开源项目的贡献! 请关注后续CI自动化测试结果,详情请参考Paddle-CI手册。 Your PR has been submitted. Thanks for your contribution! Please wait for the result of CI firstly. See Paddle CI Manual for details.