Skip to content

Instantly share code, notes, and snippets.

@randcode-generator
Created August 9, 2017 14:58
Show Gist options
  • Save randcode-generator/47d5277ec63571101a730a567ea9f5c0 to your computer and use it in GitHub Desktop.
Save randcode-generator/47d5277ec63571101a730a567ea9f5c0 to your computer and use it in GitHub Desktop.
import tensorflow as tf
with tf.Session() as sess:
val = tf.nn.softmax([1.0,2.0,3.0,4.0,6.0,1.0,2.0,3.0]).eval()
print(val)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment