Text-Classification-Pytorch
                                
                                 Text-Classification-Pytorch copied to clipboard
                                
                                    Text-Classification-Pytorch copied to clipboard
                            
                            
                            
                        the reference for the attention mechanism in LSTM_Attn
Would you please add the reference for the implementation details of the attention layer?
I believe it is similar to BahdanauAttention in https://www.tensorflow.org/tutorials/text/nmt_with_attention
https://pytorch.org/tutorials/intermediate/seq2seq_translation_tutorial.html