Skip to content

Instantly share code, notes, and snippets.

@JoshVarty
Last active March 19, 2018 01:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JoshVarty/2f42a2761afba7b86681514a4c14e3f7 to your computer and use it in GitHub Desktop.
Save JoshVarty/2f42a2761afba7b86681514a4c14e3f7 to your computer and use it in GitHub Desktop.
correct_prediction = tf.equal(labels, tf.argmax(predictions, 1, output_type=tf.int32))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment