Hi ! I am a little confused with this part too…
Let’s say if I used the input of Linear Layer as input = [batch_size, sequence_length, feature_dim]
So, does this mean that the size of the last dimension  (in this case it is feature_dim) has to match the input dimension of the Linear Layer is that right?