MATLAB Answers

What is the merge mode of Bidirectional LSTM?

8 views (last 30 days)
Thu Nguyen
Thu Nguyen on 1 Dec 2019
Commented: Thu Nguyen on 11 Dec 2019
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!

Accepted Answer

Raunak Gupta
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)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!