import tensorflow as tf import numpy as np #tensor = tf.constant([[1,2,3,4,5,6,7,8],[1,2,3,4,5,6,7,8]]) tensor = tf.placeholder(tf.int32, [2,8]) with tf.Session() as sess: sess.run(tf.global_variables_initializer()) print sess.run(tensor,feed_dict={t…