-
Notifications
You must be signed in to change notification settings - Fork 483
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement bidirectional LSTM (#1035)
* resolve conflict * move `gate_product` to `GateController` * BiLstm needs to use its own initializer when init * resolve conflicts * add some comments * improve doc * correct the description of GateController * fix fmt * add `LstmState` * add test for state * set batch 2 in bilstm test * resolve conflict * fix * fix doc * change the batch size back to 1 * change the batch size back to 1 * modify docstring; delete dead comment
- Loading branch information
Showing
3 changed files
with
461 additions
and
137 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.