MATLAB Answers

What is the merge mode of Bidirectional LSTM?

25 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!

  0 Comments

Sign in to comment.

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.

  1 Comment

Sign in to comment.

More Answers (0)

Sign in to answer this question.