Update preprocessing/image documentation

This commit is contained in:
Francois Chollet 2016-04-13 10:00:34 -07:00
parent cb65139aa8
commit 3e3c210f1d

@ -12,7 +12,8 @@ keras.preprocessing.image.ImageDataGenerator(featurewise_center=True,
height_shift_range=0.,
shear_range=0.,
horizontal_flip=False,
vertical_flip=False)
vertical_flip=False,
dim_ordering='th')
```
Generate batches of tensor image data with real-time data augmentation. The data will be looped over (in batches) indefinitely.
@ -29,6 +30,9 @@ Generate batches of tensor image data with real-time data augmentation. The data
- __shear_range__: Float. Shear Intensity (Shear angle in counter-clockwise direction as radians)
- __horizontal_flip__: Boolean. Randomly flip inputs horizontally.
- __vertical_flip__: Boolean. Randomly flip inputs vertically.
- __dim_ordering__: One of {"th", "tf"}.
"tf" mode means that the images should have shape `(samples, width, height, channels)`,
"th" mode means that the images should have shape `(samples, channels, width, height)`.
- __Methods__:
- __fit(X)__: Required if featurewise_center or featurewise_std_normalization or zca_whitening. Compute necessary quantities on some sample data.