ningshixian / LSTM_Attention

attention-based LSTM/Dense implemented by Keras
https://github.com/ningshixian/LSTM_Attention
292 stars 77 forks source link

AttentionLSTM and AttentionLSTM_t #6

Open Yutasq opened 5 years ago

Yutasq commented 5 years ago

Thanks and I have following questions:

  1. what is the difference of AttentionLSTM and AttentionLSTM_t in your code attention_lstm.py? (i.e. what do you mean by 'attention_vec'?)

  2. Is the output at each timestep is the input to the next timestep in AttentionLSTM_t?