What is the recommended way to draw a single random batch with replacement from a DataLoader nowadays?
A very similar question has been asked here 98, but I don’t understand how to actually extract the data points. I would expect something like:
x_batch, y_batch = train_loader.sample(batch_size=64, replacement=True)