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

fix data_norm_op_xpu bug for cvrq #8

Merged
merged 1 commit into from
Sep 15, 2023
Merged

fix data_norm_op_xpu bug for cvrq #8

merged 1 commit into from
Sep 15, 2023

Conversation

xymyeah
Copy link
Collaborator

@xymyeah xymyeah commented Sep 13, 2023

Paddle中GPU和XPU的data_norm接口的中的update_norm参数默认值不同且XPU没有相关的判断逻辑
对应python/paddle/fluid/layers/nn.py中的git ,
在data_norm_op_xpu.cc中加入update_norm的判断逻辑
在model.py的normalization_layer中为fluid.layers.data_norm加上u

PR types

PR changes

Describe

Copy link
Collaborator

@HuangShiqing HuangShiqing left a comment

Choose a reason for hiding this comment

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

+1

@xymyeah xymyeah merged commit 6bc58be into jack603047588:paddlebox Sep 15, 2023
@xymyeah xymyeah deleted the data_norm_op_for_cvrq branch September 19, 2023 09:14
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.

2 participants