<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_3d.py#L382-L404) |

Flips all the frames with a probability of 50%.

    tfm.vision.preprocess_ops_3d.random_flip_left_right(
        frames: tf.Tensor, seed: Optional[int] = None
    ) -> tf.Tensor

<br />

<br />

<br />

| ## Args ||
|---|---|
| `frames` | A Tensor of shape \[timesteps, input_h, input_w, channels\]. |
| `seed` | A seed to use for the random sampling. |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| A Tensor of shape \[timesteps, output_h, output_w, channels\] eventually flipped left right. ||

<br />