Yep, they are empty wrappers much like torch.utils.data.DataSet.
They are around to make composing and creating new transforms trivial.
BTW, There is no requirement pass transform as an argument to class MyCustomtDataset(torch.utils.data.DataSet). Only requirement is that __getitem__ and __len__ have to be implemented.