Seungyoung_Park:

the weights in the LSTM encoder is copied to those of the LSTM decoder.


Do you mean the hidden activations?



 Seungyoung_Park:

#dec
h_t_dec = h_t_enc.clone()
c_t_dec = c_t_enc.clone()



Do you really have to clone them? It seems to me that you could directly pass your outputs to the decoder.