for x, t in dataloader_train:
    # this always gives you fresh x_batches and t_batches

and you can add the for loop on top of it, it you want to go through the whole train data again and again.
In short,
for epoch in range(EPOCH):
  for x, t in dataloader_train:

is perfectly fine ! 
This is exactly how we train our models