|
Previoulsy, BIDIRECTIONAL_SEQUENCE_RNN only supported cross-linking
mode, i.e. passing the regular and the auxiliary input to both the
forward and backward networks in the next BIDIRECTIONAL_SEQUENCE_RNN op:
AUX_INPUT (AUX_INPUT_REVERSED)
| |
INPUT | (INPUT_R'D.)|
| | | |
-----------------------
| \ / \ / |
| FW_RNN BW_RNN |
-----------------------
| |
FW_OUT BW_OUT
This CL adds support for parallel linking of bidirectional sequence
RNNs, where the regular input is passed only to the forward network and
the auxiliary input is passed only to the backward network:
INPUT (AUX_INPUT_REVERSED)
| |
---------------------
| FW_RNN BW_RNN |
---------------------
| |
FW_OUT BW_OUT
Fix: 138653129
Test: NNTest_static and VtsHalNeuralnetworksV1_3TargetTest
Change-Id: If08ba61d2bf24700a350ae234459f7f73e67e53e
|