Merge pull request #47484 from ksood12345:master
PiperOrigin-RevId: 360673777 Change-Id: I2891d610316752d99f1e1eb13c4f078e3b4f4467
This commit is contained in:
commit
3f03effd31
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user