<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#L845-L847) |

Equivalent of PIL Contrast.

    tfm.vision.augment.contrast(
        image: tf.Tensor, factor: float
    ) -> tf.Tensor