I noticed that Keras Relay Frontend uses axis=1 by default
But I think it should be axis=-1 https://www.tensorflow.org/api_docs/python/tf/nn/softmax https://keras.io/layers/advanced-activations/#softmax