Thanks. I must be doing something incorrect. With code that looks like this:

dataloader = DataLoader(dataSet, batch_size=20, shuffle=True)
for t, dy in enumerate(dataloader):
print(t)
print(dy)
print(dy[1])
break

I get:

Testing dataset class …
Moving to dataloader section …
0
[tensor([100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100,
100, 100, 100, 100, 100, 100]), tensor([[ 1.7786e+04,  7.9729e-01],
[ 1.2340e+04, -1.6030e-01],
[ 9.1269e+03, -7.1534e-02],
[ 2.9582e+04, -7.2178e-01],
[ 1.2473e+04, -3.4016e-01],
[ 1.1071e+04,  2.3349e-01],
[ 3.2279e+04, -1.3710e+00],
[ 1.4720e+03,  2.4033e-01],
[ 2.0018e+04, -2.2206e-01],
[ 1.4384e+04, -7.4043e-01],
[ 3.5270e+02, -3.3346e-01],
[ 1.1394e+04,  3.3650e-01],
[ 2.2026e+04, -4.4804e-02],
[ 2.3803e+04,  2.2828e-01],
[ 1.6722e+04,  1.6180e-01],
[ 2.7046e+04, -6.7901e-01],
[ 2.9860e+04,  1.5923e-01],
[ 2.4130e+04, -7.0021e-01],
[ 1.1229e+04,  7.4529e-01],
[ 3.6677e+04, -5.1128e-01]])]
tensor([[ 1.7786e+04,  7.9729e-01],
[ 1.2340e+04, -1.6030e-01],
[ 9.1269e+03, -7.1534e-02],
[ 2.9582e+04, -7.2178e-01],
[ 1.2473e+04, -3.4016e-01],
[ 1.1071e+04,  2.3349e-01],
[ 3.2279e+04, -1.3710e+00],
[ 1.4720e+03,  2.4033e-01],
[ 2.0018e+04, -2.2206e-01],
[ 1.4384e+04, -7.4043e-01],
[ 3.5270e+02, -3.3346e-01],
[ 1.1394e+04,  3.3650e-01],
[ 2.2026e+04, -4.4804e-02],
[ 2.3803e+04,  2.2828e-01],
[ 1.6722e+04,  1.6180e-01],
[ 2.7046e+04, -6.7901e-01],
[ 2.9860e+04,  1.5923e-01],
[ 2.4130e+04, -7.0021e-01],
[ 1.1229e+04,  7.4529e-01],
[ 3.6677e+04, -5.1128e-01]])

This seems incorrect - while I seem to have 20 batches of 100, when printing dy (features, labels), I only seem to have 20 different points in the sequence, where I was expecting to have 100. What am I doing incorrectly? I don’t mind sharing the complete source if necessary.
Thanks in advance!