If you’re mixing RNNs and fully connected layers, you don’t have to unpack at all – you can actually call the linear layer directly on the packed sequence.

Is this true? It is not working for me since nn.Linear requires attribute ‘dim’.