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 forward pass of BiRNN #13

Merged
merged 1 commit into from
Dec 7, 2019

Conversation

mfl28
Copy link
Collaborator

@mfl28 mfl28 commented Dec 7, 2019

A small modification to the bidirectional RNN tutorial:
This corrects the BiRNN forward pass by concatenating the last hidden state of the LSTM forward direction with the first hidden state of the backward direction according to a PR from the python tutorial at yunjey/pytorch-tutorial#174.

Also, I am almost done with the language model tutorial, will do another PR later today or tomorrow.

@prabhuomkar prabhuomkar merged commit 5f28bb5 into prabhuomkar:master Dec 7, 2019
@mfl28 mfl28 deleted the bidirectional-rnn-fix branch December 7, 2019 16:42
prabhuomkar added a commit that referenced this pull request Dec 18, 2019
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