Merge pull request #47484 from ksood12345:master

PiperOrigin-RevId: 360673777
Change-Id: I2891d610316752d99f1e1eb13c4f078e3b4f4467
This commit is contained in:
TensorFlower Gardener 2021-03-03 08:23:12 -08:00
commit 3f03effd31

View File

@ -407,7 +407,7 @@ class Bidirectional(Wrapper):
automatically.
Note that the provided `backward_layer` layer should have properties
matching those of the `layer` argument, in particular it should have the
same values for `stateful`, `return_states`, `return_sequence`, etc.
same values for `stateful`, `return_states`, `return_sequences`, etc.
In addition, `backward_layer` and `layer` should have different
`go_backwards` argument values.
A `ValueError` will be raised if these requirements are not met.