In [5]:
import tensorflow as tf

In [6]:
x = tf.placeholder("float", [None, 3])

In [7]:
y = x * 2

In [8]:
with tf.Session() as session:
    x_data = [[1, 2, 3],
              [4, 5, 6],]
    result = session.run(y, feed_dict={x: x_data})
    print(result)


[[  2.   4.   6.]
 [  8.  10.  12.]]

In [ ]: