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

[Relay][Keras][Bugfix] fix the converters of GRU and SimpleRNN about the go_backwards attribute #15829

Merged
merged 3 commits into from
Sep 29, 2023

Conversation

jikechao
Copy link
Contributor

@jikechao jikechao commented Sep 27, 2023

Two similar bugs with the issue: #15176

For the convert function of GRU and SimpleRNN in the Keras frontend, they overlook the parsing for go_backwards attribute.
Thus, they can lead to wrong inference results.

This PR fixed them and added two corresponding regression tests.

cc @echuraev @Hzfengsy @merrymercy

@jikechao jikechao changed the title [Relay][Keras][Bugfix] fix the GRU and SimpleRNN about the parsing of go_backwards attribute [Relay][Keras][Bugfix] fix the converter of GRU and SimpleRNN about the go_backwards attribute Sep 27, 2023
@jikechao jikechao changed the title [Relay][Keras][Bugfix] fix the converter of GRU and SimpleRNN about the go_backwards attribute [Relay][Keras][Bugfix] fix the converters of GRU and SimpleRNN about the go_backwards attribute Sep 27, 2023
Copy link
Contributor

@vvchernov vvchernov left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@echuraev echuraev left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks!

@echuraev echuraev merged commit 2890899 into apache:main Sep 29, 2023
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.

3 participants