keras 运行出现 TypeError: softmax() got an unexpected keyword argument 'axis'. 解决办法: return tf.nn.softmax(x, axis=axis) 改为 return tf.nn.softmax(x, axis)