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 rnn grad bug in cpu when dropout is zero #37080

Merged
merged 2 commits into from
Nov 10, 2021

Conversation

joey12300
Copy link
Contributor

@joey12300 joey12300 commented Nov 9, 2021

PR types

Bug fixes

PR changes

OPs

Describe

fix rnn grad bug in cpu when num_layers is set larger than 1 and dropout_prob is set 0

@joey12300 joey12300 changed the title fix rnn grad bug when num_layers is set 2 and dropout_prob is set 0 fix rnn grad bug in cpu Nov 10, 2021
Copy link
Member

@ZeyuChen ZeyuChen left a comment

Choose a reason for hiding this comment

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

LGTM

@ZeyuChen ZeyuChen changed the title fix rnn grad bug in cpu Fix rnn grad bug in cpu when dropout is zero Nov 10, 2021
@joey12300 joey12300 merged commit 211940e into PaddlePaddle:develop Nov 10, 2021
joey12300 added a commit to joey12300/Paddle that referenced this pull request Nov 10, 2021
* fix rnn grad bug when num_layers is set 2 and dropout_prob is set 0

* add more test for rnn
XiaoguangHu01 pushed a commit that referenced this pull request Nov 10, 2021
* fix rnn grad bug when num_layers is set 2 and dropout_prob is set 0

* add more test for rnn
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