Tensor variables actually describe the calculations that must be performed to obtain the values of interest to you.
, , correct_prediction = tf.equal(tf.argmax(y,1), tf.argmax(y_,1)), , . , , tensorflow .
tf.Session. sess = tf.InteractiveSession(), : sess.run(tf.initialize_all_variables()).
sess.run(tensor_variable), ( ). ( ), . .
session.run() .eval() . .