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 #9763

Merged
merged 1 commit into from
Nov 28, 2022
Merged

[ARM] fix global_avg_pool and rnn fp16 overflow #9763

merged 1 commit into from
Nov 28, 2022

Conversation

mjp9527
Copy link
Collaborator

@mjp9527 mjp9527 commented Nov 25, 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 25, 2022

Thanks for your contribution!

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 4f2f731 into PaddlePaddle:develop Nov 28, 2022
@mjp9527 mjp9527 deleted the fix_fp16_overflow branch November 28, 2022 12:03
qfyinbd pushed a commit to qfyinbd/Paddle-Lite that referenced this pull request Nov 29, 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