What is the merge mode of Bidirectional LSTM?
3 views (last 30 days)
Show older comments
I'm using Bidirectional LSTM bilstmLayer from MATLAB but I cannot figure out which merge mode is used to combine the output of 2 element LSTM networks (concatenation, multiplication, average, or sum)
And is there anyway to change this mode?
Thank you!
0 Comments
Accepted Answer
Raunak Gupta
on 5 Dec 2019
Hi,
The bilstmLayer uses concatenation mode as we can check by the number of activations generated by the layer in the output while creating a dummy network and running analyzeNetwork for it. Currently only this mode is supported for bilstmLayer.
More Answers (0)
See Also
Categories
Find more on Sequence and Numeric Feature Data Workflows in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!