WARNING: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.
错误代码:tf.nn.softmax_cross_entropy_with_logits
修正:tf.nn.softmax_cross_entropy_with_logits_v2
原文:https://blog.csdn.net/spadgerz/article/details/79670389