<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#L951-L969) |

Jitters brightness of an image.

    tfm.vision.preprocess_ops.random_brightness(
        image: tf.Tensor, brightness: float = 0.0, seed: Optional[int] = None
    ) -> tf.Tensor

<br />

<br />

<br />

| ## Args ||
|---|---|
| `image` | [`tf.Tensor`](https://www.tensorflow.org/api_docs/python/tf/Tensor) <br /> Of shape \[height, width, 3\] and type uint8. |
| `brightness` | `float, optional` <br /> Magnitude for brightness jitter. Defaults to 0. |
| `seed` | `int, optional` <br /> Random seed. Defaults to None. |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| [`tf.Tensor`](https://www.tensorflow.org/api_docs/python/tf/Tensor) | The augmented `image` of type uint8. |

<br />