Print Tensor Value
<p>Code:
<a href="https://github.com/tensorflow/tensorflow/blob/r0.10/tensorflow/examples/tutorials/mnist/mnist_softmax.py" rel="nofollow">https://github.com/tensorflow/tensorflow/blob/r0.10/tensorflow/examples/tutorials/mnist/mnist_softmax.py</a></p>

<p>I want to be able to see/print/display tensor content ( tensor <strong><em>y</em></strong>, - (image, trained label) i.e. x, y pairs for each batch  ), as well as the final result. </p>

<p>For example in: </p>

<p>for i in range(1000):</p>

<p>batch_xs, batch_ys = mnist.train.next_batch(100)</p>

<p>train_step.run({x: batch_xs, y_: batch_ys})</p>

<p># here should be a line to print/eval/sess.run learned x, y pair</p>