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

Add Sparse BatchNorm and fix two bugs #42013

Merged
merged 27 commits into from Apr 22, 2022
Merged

Conversation

zkh2016
Copy link
Contributor

@zkh2016 zkh2016 commented Apr 20, 2022

PR types

New features

PR changes

APIs

Describe

  1. 添加paddle.sparse.BatchNorm
  2. 因为只需要对values应用batch_norm就可以,所以没有提供functional的接口(直接使用dense的batch_norm)
  3. 修复了后端获取stride错误的问题
  4. 修复推断dense shape错误的问题
  5. conv3d支持bias,当前同样采用再python前端调用elementwise_add进行add bias

英文文档:
image
image
image

@zkh2016 zkh2016 changed the title Add Sparse BatchNorm Add Sparse BatchNorm and fix two bugs Apr 20, 2022
xingfeng01
xingfeng01 previously approved these changes Apr 21, 2022
python/paddle/sparse/layer/norm.py Outdated Show resolved Hide resolved
python/paddle/sparse/layer/norm.py Outdated Show resolved Hide resolved
@zkh2016 zkh2016 merged commit 8a6456d into PaddlePaddle:develop Apr 22, 2022
@zkh2016 zkh2016 deleted the batch_norm branch August 19, 2022 04:04
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

4 participants