Skip to content

Commit 8465c3d

Browse files
committed
Docstring nit
1 parent cf0cc42 commit 8465c3d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

keras/src/layers/preprocessing/image_preprocessing/random_hue.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,12 @@ class RandomHue(BaseImagePreprocessingLayer):
5050
preprocessing pipeline is set up.
5151
seed: Integer. Used to create a random seed.
5252
53+
Example:
54+
5355
```python
5456
(images, labels), _ = keras.datasets.cifar10.load_data()
5557
random_hue = keras.layers.RandomHue(factor=0.5, value_range=[0, 1])
56-
augmented_images = random_hue(images)
58+
augmented_images_batch = random_hue(images[:32])
5759
```
5860
"""
5961

0 commit comments

Comments
 (0)