In [1]:
import tensorflow as tf
tf.__version__
Out[1]:
In [2]:
hello = tf.constant("Hello, World")
sess = tf.Session()
print(sess.run(hello))
In [6]:
x = [1,2,3]
adder = tf.add(x , 1)
result = sess.run(adder)
print(result)
In [ ]: