Added examples for fill_mode
* Added examples for fill_mode
It wasn't 100% clear to me what "reflect" and "wrap" modes do exactly so I looked in scipy source for examples. The `fill_mode` is implemented using `NI_ExtendLine()` from [ni_support.c](https://github.com/scipy/scipy/blob/master/scipy/ndimage/src/ni_support.c).
* Updated fill_mode examples
Added code delimiters and `cval=k` to `fill_mode` examples.
@@ -38,7 +38,11 @@ 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)
- __zoom_range__: Float or [lower, upper]. Range for random zoom. If a float, `[lower, upper] = [1-zoom_range, 1+zoom_range]`.
- __channel_shift_range__: Float. Range for random channel shifts.
- - __fill_mode__: One of {"constant", "nearest", "reflect" or "wrap"}. Points outside the boundaries of the input are filled according to the given mode.
+ - __fill_mode__: One of {"constant", "nearest", "reflect" or "wrap"}. Points outside the boundaries of the input are filled according to the given mode:
+ * "constant": `kkkkkkkk|abcd|kkkkkkkk` (`cval=k`)
+ * "nearest": `aaaaaaaa|abcd|dddddddd`
+ * "reflect": `abcddcba|abcd|dcbaabcd`
+ * "wrap": `abcdabcd|abcd|abcdabcd`
- __cval__: Float or Int. Value used for points outside the boundaries when `fill_mode = "constant"`.
- __horizontal_flip__: Boolean. Randomly flip inputs horizontally.
- __vertical_flip__: Boolean. Randomly flip inputs vertically.
