I have a placeholder variable that expects a batch of input images:
input_placeholder = tf.placeholder(tf.float32, [None] + image_shape, name=\'input_images
This works for me in latest version...maybe you have older version of TF?
a = tf.Variable(1) sess.run(2*a, feed_dict={a:5}) # prints 10