1

I'm trying to concatenate two hidden states of a 2-Bi-LSTM layers

but i want to know first what is the output shape of a concatenation.

Moreover, I would like to know what are the attention mechanisme. To be more explicit how can i do it for two different Bi-LSTM hidden states

AMTA
  • 39
  • 4
  • Please, support your question with a minimal reproducible example – rvinas Aug 05 '19 at 20:29
  • The output shape of a concatenation layer is computed this way: https://github.com/keras-team/keras/blob/master/keras/layers/merge.py#L367 – josoler Aug 06 '19 at 05:45

0 Answers0