|View source on GitHub|
Jitters brightness of an image.
tfm.vision.preprocess_ops.random_brightness( image: tf.Tensor, brightness: float = 0.0, seed: Optional[int] = None ) -> tf.Tensor
|image (tf.Tensor): Of shape [height, width, 3] and type uint8. brightness (float, optional): Magnitude for brightness jitter. Defaults to 0. seed (int, optional): Random seed. Defaults to None.|