Docs say:

sampler  ( Sampler  ,  optional ) – defines the strategy to draw samples from the dataset. If specified,  shuffle  must be  False .

but I want it to work with multithreading properly. My data-set is a data-set of data sets so I want to create a sampler that simply sampled my meta set correctly.
 e.g. tensor of size M K*N C H W