import tensorflow as tfimport numpy as np a = tf.constant(1)b = tf.constant(1)c = tf.constant(2) print(a+b+c)
Standard input is empty
Tensor("add_1:0", shape=(), dtype=int32)
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!