Skip to content

Instantly share code, notes, and snippets.

@3h4
Created November 19, 2016 11:39
Show Gist options
  • Save 3h4/e4b9c917d69a24260847667af5b2428b to your computer and use it in GitHub Desktop.
Save 3h4/e4b9c917d69a24260847667af5b2428b to your computer and use it in GitHub Desktop.
losses = tf.nn.sparse_softmax_cross_entropy_with_logits(logits, labels)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment