I’m wondering if it’s possible to use any of the existing Sampler classes or a custom class to do the following: I wish to have the DataLoader shuffle data but in contiguous units of size [batch_size]. For example if my batch size is 10, I’d have the DataLoader load
-> data[10-20] -> data[40-50] -> data[0-10] -> …
or
-> data[50-60], data[10-20], data[0-10] -> … etc
If I try to use the dataloader shuffle as it is, the data output is not contiguous. It will just be 10 random indices. Is there any way to enforce this?