Skip to content

Commit

Permalink
Docstring nit
Browse files Browse the repository at this point in the history
  • Loading branch information
fchollet committed Dec 12, 2024
1 parent cf0cc42 commit 8465c3d
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,12 @@ class RandomHue(BaseImagePreprocessingLayer):
preprocessing pipeline is set up.
seed: Integer. Used to create a random seed.
Example:
```python
(images, labels), _ = keras.datasets.cifar10.load_data()
random_hue = keras.layers.RandomHue(factor=0.5, value_range=[0, 1])
augmented_images = random_hue(images)
augmented_images_batch = random_hue(images[:32])
```
"""

Expand Down

0 comments on commit 8465c3d

Please sign in to comment.