You can access the underlying target tensors directly in the CIFAR10 dataset via:
dataset.targets

Using these targets you could compute the indices for 100 samples for each class.
Once you have these indices, you could use a Subset with these indices to only draw these specified samples.