@apaszke if out  has the shape (seq_len, batch, hidden_size) (as in the output of a unidirectional GRU layer), does out.view(-1, out.size(2)) keeps the exact same values of the third dimension (i.e. hidden size) across the first two dimensions?