Improve docstring on order of transformations (#7248)

* Improve docstring on order of transformations

* Add code markers and be more precise
Esse commit está contido em:
Dirk Gorissen
2017-07-06 12:23:33 +01:00
commit de François Chollet
commit bcc68e9040
+3 -2
Ver Arquivo
@@ -365,8 +365,9 @@ class ImageDataGenerator(object):
horizontal_flip: whether to randomly flip images horizontally.
vertical_flip: whether to randomly flip images vertically.
rescale: rescaling factor. If None or 0, no rescaling is applied,
otherwise we multiply the data by the value provided
(before applying any other transformation).
otherwise we multiply the data by the value provided. This is
applied after the `preprocessing_function` (if any provided)
but before any other transformation.
preprocessing_function: function that will be implied on each input.
The function will run before any other modification on it.
The function should take one argument: