使用Tensorflow softmax_cross_entropy_with_logits出現WARNING
WARNING:tensorflow:From <ipython-input-30-eab92abfb667>:9: softmax_cross_entropy_with_logits (from tensorflow.python.ops.nn_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Future major versions of TensorFlow will allow gradients to flow
into the labels input on backprop by default.
See tf.nn.softmax_cross_entropy_with_logits_v2.
將softmax_cross_entropy_with_logits改為softmax_cross_entropy_with_logits_V2