In [3]:
import tensorflow as tf
In [23]:
a = tf.constant(5, name = 'Input_A')
b = tf.constant(3, name='Input_B')
c = tf.mul (a,b, name ='Mul_C')
d = tf.add(a,b, name= 'Add_D')
e = tf.add(c,d, name= 'Add_E')
In [24]:
sess = tf.Session()
In [25]:
output = sess.run(e)
print(output)
In [ ]: