Demo entry 6656792

testcode

   

Submitted by anonymous on Nov 01, 2017 at 18:25
Language: Python 3. Code size: 219 Bytes.

1 import tensorflow as tf
2
3 a = tf.constant(3.0)
4 b = tf.constant(4.0)
5 adder_node = tf.add(a,b)
6
7 with tf.Session() as sess:
8 	print("sess.run(adder_node):", sess.run(node3))

>> sess.run(node3):  7.0

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).