I am so confusing. I try to put my data to GRU/LSTM model with batch_first is true.
I reshape my data to be of shape (batch,seq, features). I expect the model will give the output have the same shape. Yes, the output of the model has the same shape (batch,seq, features), but I have no idea. Why last hidden output still to be of shape (batch,seq, features). Could you please someone explain to me?
This is my code.

2019-11-03_16-19-37.jpg790×775 106 KB