Skip to content

Instantly share code, notes, and snippets.

@andreaschandra
Last active September 6, 2018 08:24
Show Gist options
  • Save andreaschandra/07649e180a85a0739ed57ecef496f967 to your computer and use it in GitHub Desktop.
Save andreaschandra/07649e180a85a0739ed57ecef496f967 to your computer and use it in GitHub Desktop.
ph = tf.placeholder(tf.int32)
sess = tf.Session()
sess.run(ph, feed_dict={ph: [9,8,7]})
#array([9, 8, 7], dtype=int32)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment