Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize obtaining quantized scale in inference stage, test=develop #4308

Merged
merged 2 commits into from
Sep 14, 2020

Conversation

juncaipeng
Copy link
Collaborator

Optimize obtaining quantized scale in inference stage

为了减小加载模型的耗时,量化op构建中直接使用保存scale的名字,从opdesc中拿到scale。

Shixiaowei02
Shixiaowei02 previously approved these changes Sep 13, 2020
Copy link
Collaborator

@DannyIsFunny DannyIsFunny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@juncaipeng juncaipeng merged commit eca4dcb into PaddlePaddle:develop Sep 14, 2020
@juncaipeng juncaipeng deleted the opt_quant_scale branch September 14, 2020 02:07
juncaipeng added a commit to juncaipeng/Paddle-Lite that referenced this pull request Oct 27, 2020
…addlePaddle#4308)

* Optimize obtaining quantized scale in inference, test=develop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants