<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#L902-L939) |

Implements Autocontrast function from PIL using TF ops.

    tfm.vision.augment.autocontrast(
        image: tf.Tensor
    ) -> tf.Tensor

<br />

<br />

<br />

| ## Args ||
|---|---|
| `image` | A 3D uint8 tensor. |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| The image after it has had autocontrast applied to it and will be of type uint8. ||

<br />