Have you looked at ConcatDataset documentation 163 ?
I think it would be the best approach, or you can extend the MNIST dataset class 65 and concatenate your data after the constructor, so you’ll have to join your data with current loaded MNIST data.