MATLAB: What is the merge mode of Bidirectional LSTM

bilstmlayerDeep Learning ToolboxMATLABmerge mode

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!

Best Answer

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.
Related Question