print sess.run(accuracy, feed_dict={x: mnist.test.images, y_: mnist.test.labels}) python版本 3之后的print要用() Refer-CSDN-BLOG