What is the merge mode of Bidirectional LSTM?

4 vues (au cours des 30 derniers jours)
Thu Nguyen
Thu Nguyen le 1 Déc 2019
Commenté : Thu Nguyen le 11 Déc 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!

Réponse acceptée

Raunak Gupta
Raunak Gupta le 5 Déc 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 commentaire
Thu Nguyen
Thu Nguyen le 11 Déc 2019
Thank you so much Raunak Gupta!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Sequence and Numeric Feature Data Workflows dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by