-
Notifications
You must be signed in to change notification settings - Fork 431
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix keras bidirectional merge failures (#1869)
* add test to check keras bidirectional recurrent is merged Signed-off-by: Kotaro Yamamoto <kota.crk@gmail.com> * fix keras bidirectional merge failures support below cases: - there are one or two Identity layers between input/output and RNN - Transpose-Reverse-backward (previously, only Reverse-Transpose-backward was supported) - return_sequences=False with no Reverse after the backward Signed-off-by: Kotaro Yamamoto <kota.crk@gmail.com> * apply review comments for Bidirectional fix - Consecutive Identity checks changed to nested if - update comment for remove Reverse or tail-slice op Signed-off-by: Kotaro Yamamoto <kota.crk@gmail.com> Co-authored-by: Jay Zhang <36183870+fatcat-z@users.noreply.github.com>
- Loading branch information
Showing
3 changed files
with
88 additions
and
27 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
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