torch
torch copied to clipboard
analog of python's WeightedRandomSampler etc
Python has WeightedRandomSampler https://docs.pytorch.org/docs/stable/data.html#torch.utils.data.WeightedRandomSampler R https://github.com/mlverse/torch/blob/main/R/utils-data-sampler.R has some other samplers like in Python (RandomSampler, BatchSampler) but not all of them. Can the missing ones be added please?
also these are not exported, but a previous issue indicated that they could be #808