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

RNN deprecations and naming fixes #1390

Merged
merged 4 commits into from
Nov 9, 2020
Merged

RNN deprecations and naming fixes #1390

merged 4 commits into from
Nov 9, 2020

Conversation

jeremiedb
Copy link
Contributor

Following discussion in #1367

This PR brings the disambiguation between initial state parameters named state0 in the rnn cells with the state of the rnn chain named state in the Recur struct.

Add getproperty with deprecation messages to access the legacy h and c in the rnn cells as well as the init field in Recu (which now points to recur.cell.state0).

Include both 1D and 2D input dimensions to the basic BPTT test.

@jeremiedb jeremiedb changed the title Rnn gpu RNN deprecations and naming fixes Nov 7, 2020
@CarloLucibello
Copy link
Member

Could you add a

TODO remove in v0.13

comment in those getproperty?

@jeremiedb
Copy link
Contributor Author

Could you add a

TODO remove in v0.13

Done

@CarloLucibello
Copy link
Member

thanks!

bors r+

@bors
Copy link
Contributor

bors bot commented Nov 9, 2020

Build succeeded:

@bors bors bot merged commit 8b53033 into FluxML:master Nov 9, 2020
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