, y n , functioning as the decoder.
rNNs struggle to train on long term dependencies sufficiently; and therefore, Long Short Term Memory Models (LSTM) and Gated recurrent Units (GrUs)  are more common for such sequence to sequence learning.