The provided code is normalizing the data and it’s not in its original range as seen here:
x, y = trainset[0]
print(x.min(), x.max())
> tensor(-0.4242) tensor(2.8215)

Are you sure this code snippet was returning the raw data?