If I use the RandomSampler with replacement=False, I can’t specify the number of elements.
Message:
With replacement=False, num_samples should not be specified, since a random permute will be performed.
Will the RandomSampler with replacement=True and num_samples=n, always return a sample with n unique elements?