We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf0cc42 commit 8465c3dCopy full SHA for 8465c3d
keras/src/layers/preprocessing/image_preprocessing/random_hue.py
@@ -50,10 +50,12 @@ class RandomHue(BaseImagePreprocessingLayer):
50
preprocessing pipeline is set up.
51
seed: Integer. Used to create a random seed.
52
53
+ Example:
54
+
55
```python
56
(images, labels), _ = keras.datasets.cifar10.load_data()
57
random_hue = keras.layers.RandomHue(factor=0.5, value_range=[0, 1])
- augmented_images = random_hue(images)
58
+ augmented_images_batch = random_hue(images[:32])
59
```
60
"""
61
0 commit comments