Hi, I am trying to do train-test split for the dataset.  I find that there is a built-in SubsetRandomSampler which does the job.  Does anyone know what is the difference between this one with the train-test split function sklearn.model_selection.train_test_split provided in sklearn?
Thanks!