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

Skip BatchNorm when feature only has 1 element. #11578

Merged
merged 10 commits into from
Jul 10, 2018

Conversation

qingqing01
Copy link
Contributor

Fix #11445

@qingqing01 qingqing01 changed the title Skip the BatchNorm when feature only have 1 element. Skip BatchNorm when feature only has 1 element. Jun 19, 2018
@panyx0718
Copy link
Contributor

seems some tests haven't passed yet

@qingqing01
Copy link
Contributor Author

@panyx0718 CI is passed.

Copy link
Contributor

@panyx0718 panyx0718 left a comment

Choose a reason for hiding this comment

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

Would be great to test 1 element case as well.

@qingqing01 qingqing01 merged commit 10fbb83 into PaddlePaddle:develop Jul 10, 2018
kuke pushed a commit to kuke/Paddle that referenced this pull request Aug 25, 2018
* Fix batch norm when only 1 elements in normzalize dimension during training.
@qingqing01 qingqing01 deleted the bn_enhance branch November 14, 2019 05:24
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