ImageDataGenerator: Allow specifying width/height_shift_range in pixels (#8830)
ImageDataGenerator: Allow specifying width/height_shift_range in pixels (#8830)

* allow specifying width/height_shift_range in pixels

* Simplify logic

keras-team/keras,keras-team/keras