You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 11, 2021. It is now read-only.
In the blog post and in the related literature about attention LSTM, attention is incorporated like
attention_state = tanh(dot(attention_vec, W_attn) + dot(new_hidden_state, U_attn))
However, in attention_lstm.py it is incorporated like:
attention_state = tanh(dot(attention_vec, W_attn) * dot(new_hidden_state, U_attn))
Is it a typo or do you find it a better way of incorporating attention?
The text was updated successfully, but these errors were encountered: