<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/augment.py#L1638-L1647) |

Apply translate_y to each bbox in the image with probability prob.

    tfm.vision.augment.translate_y_only_bboxes(
        image: tf.Tensor, bboxes: tf.Tensor, prob: float, pixels: int, replace
    )