Or a simple way.  I hope you are shuffling batches. If you are choosing random numbers from a uniform distribution then half of them should be flipped.
Therefore you can just flip one out of 2.
Images[::2,…]=images[::2,…].flip(0)