R/transforms-generics.R
transform_random_vertical_flip.RdThe image can be a PIL Image or a torch Tensor, in which case it is expected
to have [..., H, W] shape, where ... means an arbitrary number of
leading dimensions
transform_random_vertical_flip(img, p = 0.5)