batch_size, input_size, n = 2, 3, 2
x = tf.placeholder(tf.types.float32, shape=(n, batch_size, input_size))
y = tf.add(x, x)
data = np.random.rand(n, batch_size, input_size)
sess = tf.Session()
print(sess.run(y, feed_dict={x: data}))
Issue feeding a list into feed_dict in TensorFlow