Fix for issue #3965 (#4333)
Fix for issue #3965 (#4333)

* Fixes issue with resize_images and partially-definded tensors

Disclaimer: I haven't tested this with `dim_ordering == 'th'`

* PEP8 syntax

keras-team/keras,keras-team/keras