Clear softmax_v2 warning for image_retraining and speech_commands tutorials.
`tf.nn.softmax_cross_entropy_with_logits` and `tf.losses.softmax_cross_entropy` both throw the warning. Almost everywhere it's used can simply be replaced by `tf.losses.sparse_softmax_cross_entropy` PiperOrigin-RevId: 178253804
Loading
Please sign in to comment