support user defined quantization func and preprocess (#24720) (#25458)
* add user defined func test=develop
* update test=develop
* update test=develop
* fix name conflicts test=develop
* add unittest test=develop
* change 2018 to 2020 test=develop
* add comment test=develop
* add comment for function test=develop
* fix details test=develop
* fix details test=develop
Co-authored-by:
Liufang Sang <slf12thuss@163.com>
显示
- python/paddle/fluid/contrib/slim/quantization/quantization_pass.py 288 个添加, 28 个删除...ddle/fluid/contrib/slim/quantization/quantization_pass.py
- python/paddle/fluid/contrib/slim/tests/test_user_defined_quantization.py 271 个添加, 0 个删除...luid/contrib/slim/tests/test_user_defined_quantization.py
- python/paddle/fluid/framework.py 6 个添加, 2 个删除python/paddle/fluid/framework.py
想要评论请 注册 或 登录