Guest User

Untitled

a guest
Jan 20th, 2019
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. import tensorflow as tf
  2.  
  3. x = tf.constant(8)
  4. y = tf.constant(7)
  5. tf_add = tf.add(x, y)
  6. with tf.Session() as sess:
  7. writer = tf.summary.FileWriter('./graphs/tf_add', sess.graph)
  8. print(sess.run(tf_add))
Add Comment
Please, Sign In to add comment