Allow shift_range to be 1-D array-like or int (#8869)
Allow shift_range to be 1-D array-like or int (#8869)

* Allow shift_range to be 1-D array-like or int

* Add docstrings

* Fix conflict resolution merge minor disaster

* remove stray line from merge

* Remove extra "tabs"

keras-team/keras,keras-team/keras