<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/models/blob/v2.20.0/official/vision/ops/preprocess_ops.py#L895-L920) |

Randomly flips input image and bounding boxes vertically.

    tfm.vision.preprocess_ops.random_vertical_flip(
        image, normalized_boxes=None, masks=None, seed=1, prob=0.5
    )