You could get the target tensor and create split indices using sklearn.model_selection.train_test_split 8, which accepts the stratify argument to create balanced splits. 
Once you have the indices, you could use Subsets to create the datasets.