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

[ARM] fix global_avg_pool and rnn fp16 overflow #9770

Merged
merged 1 commit into from
Nov 30, 2022
Merged

[ARM] fix global_avg_pool and rnn fp16 overflow #9770

merged 1 commit into from
Nov 30, 2022

Conversation

mjp9527
Copy link
Collaborator

@mjp9527 mjp9527 commented Nov 28, 2022

PR Type

bug fix

PR change

Arm CPU backends && test

Describe

rnn fp16 kernel计算会溢出,先去掉;global avg pooling fp16累加时会溢出,改为先除以数据量再累加;

@paddle-bot
Copy link

paddle-bot bot commented Nov 28, 2022

Thanks for your contribution!

@mjp9527 mjp9527 changed the title [ARM] fix global_avg_pool and rnn fp16 overflow (#9763) [ARM] fix global_avg_pool and rnn fp16 overflow Nov 28, 2022
Copy link
Contributor

@liyancas liyancas left a comment

Choose a reason for hiding this comment

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

LGTM

@mjp9527 mjp9527 merged commit b28536d into PaddlePaddle:release/v2.12 Nov 30, 2022
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