If you’ve specified batch_first = True, then the output will be of the format (batch, seq_length, num_directions * hidden_size).
From the documentation -

Screen Shot 2019-07-03 at 10.02.13 AM.png1346×108 13 KB