Keras.predict giving different results depending on how used

For the community:
See also this reply in a related thread: