Closed raghukiran1224 closed 3 years ago
There is an option for bidirectional as part of the LSTM block. You can set it like:
Block biLSTM = LSTM.builder()
.optBidrectional(true)
...
.build()
Is that what you are looking for?
Perfect, thank you @zachgk - this is what I was looking for :)
Closing this issue!
Description
Support for BiLSTM layer in DJL.
Will this change the current api? How?
This will add a new API for layers similar to LSTM, CNN, etc. It should not effect any other APIs.
Who will benefit from this enhancement?
Folks using BiLSTM models, several new models use BiLSTM layers similar to BERT.
References