So, I’m thoroughly stuck on this one. I keep running into problems with dimensions.
I noticed that in my dataset, __getitem__ returns x of shape (seq_len, input_size)
However, when I iterate over the dataloder, I get shape (1, seq_len, input_size)
For example:
torch.Size([9, 87]) torch.Size([1, 18]) <-- x, y inside the dataset
torch.Size([1, 9, 87]) <-- x from the dataloader
torch.Size([1, 1, 18]) <-- y from the dataloader

Why is that?
If the point is to automatically add a batch, why does it do it batch first?