Use sparse xent to avoid softmax_v2 warning in examples/learn
`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: 178105702
Loading
Please sign in to comment