forked from keras-team/keras
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Recurrent Attention API Additions (keras-team#7980)
* Added support for passing external constants to RNN, which will pass them on to the cell * Added class for allowing functional composition of RNN Cells, supporting constants * put back accidentally commented out recurrent tests * added basic example of functional cell * new class AttentionRNN * restored RNN layer * renamed constants to attended in FunctionRNNCell, avoided duplicating outputs in wrapped model * minor clean-up of docs * Minor cleanup & improvments in docs, fixed PEP breaking formatting in attention test * removed FunctionalRNNCell and AttentionRNN, added back support for constants in RNN * fixed PEP8 violations * fixed minor review comments * added test case for when both inital_state and constants are passed to RNN.__call__
- Loading branch information
Showing
2 changed files
with
321 additions
and
54 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
Oops, something went wrong.