RandomPosterization classkeras.layers.RandomPosterization(
factor, value_range=(0, 255), data_format=None, seed=None, **kwargs
)
Reduces the number of bits for each color channel.
Note: This layer is safe to use inside a tf.data or grain pipeline
(independently of which backend you're using).
References
Arguments
value_range. Defaults to (0, 255).