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

BLSTM implementation in keras_lib #391

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

cveaux
Copy link
Contributor

@cveaux cveaux commented Sep 3, 2018

Hi,

it seems that the current blstm implementation in keras_lib is just a backwards lstm and not a bidirectional lstm. This pull request fixes this, using the Bidirectional keras wrapper (https://keras.io/layers/wrappers/)

p.s: The code has been tested for the sequence model but not the stateful model.

Correct BLSTM implementation in keras_lib
Correct BLSTM implementation in keras_lib
Correct BSLTM implementation in keras_lib
Copy link
Contributor

@ZackHodari ZackHodari left a comment

Choose a reason for hiding this comment

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

Can you rebase into one commit and add a description to the new commit please

return_sequences=True,
go_backwards=True))
return_sequences=True),
input_shape=(None, input_size),
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you fix indentation please

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