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

Refine batch_norm_op. #9871

Merged
merged 1 commit into from
Apr 12, 2018
Merged

Refine batch_norm_op. #9871

merged 1 commit into from
Apr 12, 2018

Conversation

qingqing01
Copy link
Contributor

@qingqing01 qingqing01 commented Apr 12, 2018

The changed code is only used in training period.

@Xreki
Copy link
Contributor

Xreki commented Apr 12, 2018

我之前在C++ inference profile时看过batch_norm的时间占比,cudnnBatchNormalizationForwardInference的时间只占batch_norm_op总时间的一半。这个移动能减少不少inference、test任务的时间。

Copy link
Member

@jacquesqiao jacquesqiao left a comment

Choose a reason for hiding this comment

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

LGTM!

@luotao1 luotao1 merged commit 859fedf into PaddlePaddle:develop Apr 12, 2018
@qingqing01 qingqing01 deleted the fix_bn branch November 14, 2019 05:25
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.

4 participants