Hey, can you try this…
for epoch in range(EPOCH):
    for step, (x, y) in enumerate(train_loader):
        for i in range(len(x)):
             xi = x[i, ...][None, ...]
             yi = y[i, ...][None, ...]