成功解决softmax_cross_entropy_with_logits (from tensorflow.python.ops.nn_ops) is deprecated and will be
成功解决softmax_cross_entropy_with_logits (from tensorflow.python.ops.nn_ops) is deprecated and will be
解决问题
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 函数(来自tensorflow.python.ops.nn_ops)被弃用,将在未来版本中删除。
解决方法
更新说明:
在默认情况下,TensorFlow的未来主要版本将允许渐变流进反向传播标签输入。
请参阅@{tf.nn.softmax_cross_entropy_with_logits_v2}.
赞 (0)