The first dimension isn’t sequence length but num layers * num directions (2 for bidirectional else 1). The documentation for nn.GRU 29 is a bit long and the output and shape subsections which both describe the output shape are towards the end.
Best regards
Thomas
P.S.: Don’t use Variable, sources that still use that have not been updated for a year 2.
P.P.S.: If you use triple backticks (```) before and after your code, it formats nicely as text, too. That makes it much easier to read than images are.