ConcatDataset and Transformation Preserving

Hey all! Quick question. I have 5 different classes; called ImageLoader on each class with a different Transformation. Now that I have 5 different classes with 5 different transformations, my question is that, does the transformations get preserved if I call ConcatDataSet([set1, set2,…, set5]) and then call my loader on the concatenated dataset?

I don’t know how ImageLoader is defined, I assume it’s a custom Dataset using the passed transformation inside its __getitem__. If so, then the transformations shouldn’t be changed by ConcatDataset, as this class would only concatenate the passed datasets and call them sequentially as seen here.