Skip to content

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