Skip to content

Instantly share code, notes, and snippets.

@andreaschandra
Last active September 6, 2018 08:11
Show Gist options
  • Save andreaschandra/0a7b2bcffb94997e57d3819ab8a29989 to your computer and use it in GitHub Desktop.
Save andreaschandra/0a7b2bcffb94997e57d3819ab8a29989 to your computer and use it in GitHub Desktop.
import tensorflow as tf
a_const = tf.constant([1,2,3])
sess = tf.Session()
sess.run(a_const)
#array([1, 2, 3], dtype=int32)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment