Skip to content
This repository was archived by the owner on Sep 18, 2024. It is now read-only.

Commit e002ebd

Browse files
author
Frédéric Branchaud-Charron
authored
Merge pull request #26 from HughKu/master
Add missing docs for brightness_range
2 parents f16eb5e + ffe33d3 commit e002ebd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

keras_preprocessing/image.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -548,6 +548,8 @@ class ImageDataGenerator(object):
548548
same as with `height_shift_range=[-1, 0, +1]`,
549549
while with `height_shift_range=1.0` possible values are floats
550550
in the interval [-1.0, +1.0).
551+
brightness_range: Tuple or list of two floats. Range for picking
552+
a brightness shift value from.
551553
shear_range: Float. Shear Intensity
552554
(Shear angle in counter-clockwise direction in degrees)
553555
zoom_range: Float or [lower, upper]. Range for random zoom.

0 commit comments

Comments
 (0)