I believe the most common use is to define a Dataset 26 and pass it the transforms you want to perform. In this way, every sample you take from the dataset will be transformed. You can then take arbitrary batch size samples without having to store transformed items.
Have you tried that?