Hmmm then you can try this:
Generate a random the same size as your batch size.  Expand it to match the tensor size.  Threshold it to have a Boolean tensor and then in-place modify the images tensor.
Like
Images[bool_tensor]=images[bool_tensor].flip(0)