实现代码, 参见文件 demo_tf_mlp_mnist.py .
---------------Start Demo------------------ ---------------Demo loss= 1.601 Demo acc= 0.900 groundtruth labels: [3 2 0 7 5 1 8 9 4 6] prediction labels: [3 2 0 7 4 1 8 9 4 6]