Hi there,
I am referring to the following tutorial: https://pytorch.org/tutorials/intermediate/seq2seq_translation_tutorial.html 18
In this tutorial, a machine translation model is built using nn.GRU. If I am right, nn.GRU can be used on the whole sequence at once, whereas nn.GRUCell is just one cell. In order to use nn.GRUCell you would need to loop over the sequence.
What is confusing me, is that in the tutorial they loop over the sequence AND use the nn.GRU.
Any help to solve this confusion is appreciated.
Best,
Robin