summaryrefslogtreecommitdiff
path: root/nn/runtime/test/specs/V1_3/bidirectional_sequence_rnn_1_3.mod.py
AgeCommit message (Collapse)Author
2020-02-18Add parallel linking support for BIDIRECTIONAL_SEQUENCE_RNNLev Proleev
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