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

[cherry-pick] fix conv+conv compute error #4452

Merged
merged 2 commits into from
Oct 15, 2020

Conversation

chenjiaoAngel
Copy link
Collaborator

修复conv+conv 融合在conv_dw和conv_1x1融合时的计算错误, 已在模型里验证其正确性
解决:conv+conv 融合计算weights,要求group0=1 且group1=1. 这样融合后的新weights不会影响第一个conv的conv_type

* fix conv_conv fusion error in conv_dw+conv_1x1. test=develop

* test=develop

* fix format. test=develop
Copy link
Contributor

@ysh329 ysh329 left a comment

Choose a reason for hiding this comment

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

LGTM

@chenjiaoAngel chenjiaoAngel merged commit 9501366 into PaddlePaddle:release/v2.7 Oct 15, 2020
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.

None yet

2 participants