Last active
September 22, 2019 12:49
-
-
Save amobiny/5861a547943deb14d3fd24e26e2393fa to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import tensorflow as tf | |
# create graph | |
a = tf.constant(2) | |
b = tf.constant(3) | |
c = tf.add(a, b) | |
# launch the graph in a session | |
with tf.Session() as sess: | |
print(sess.run(c)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment