I am trying to shuffle my dataset
Instead of using epochs i have written while loop for iterations
roughly my code looks like this
    trainloader = data.DataLoader(
        t_loader,
        batch_size=cfg["training"]["batch_size"],
        num_workers=cfg["training"]["n_workers"],
    )
......

    while i <= cfg["training"]["train_iters"] and flag:
        for (images, labels) in trainloader:
          .......


if i set shuffle as true … even in this case will it shuffle the data … I raised this doubt because i am not not at all using the concept of epochs here … just using iterations instead