Recently I read this tutorial Translation with a Sequence to Sequence Network and Attention 8. The code is according to the paper Neural Machine Translation by Jointly Learning to Align and Translate 6.  And I found that some computing process in the code is different from the paper.

捕获2.PNG1067×627 48.4 KB

I have tag the difference with red line.Once you read the paper and the code you will find the difference.
What is strange is that it woks properly! Why?Am I wrong?