Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import tensorflow as tf
- x = tf.constant(8)
- y = tf.constant(7)
- tf_add = tf.add(x, y)
- with tf.Session() as sess:
- writer = tf.summary.FileWriter('./graphs/tf_add', sess.graph)
- print(sess.run(tf_add))
Add Comment
Please, Sign In to add comment