torchvision.transforms often rely on PIL as the underlying library, so you would need to transform each slice separately. (At least I’m not aware of PIL methods working on volumetric data)
That being said, it might be faster to write the transformations, e.g. random cropping, manually and apply them directly on the tensor data.