#coding:utf-8
import tensorflow as tf
import numpy as np
import input_data
import matplotlib.pyplot as plt
"""
利用多层感知器对mnist数据集分类
精度比logistic高
"""
#加载数据
mnist = input_data.read_data_sets('mnist',one_hot="True")
#定义参数
learning_rate = 0.01
epochs = 15
batch_size = 100
step = 1
epoch_plt=[]
accuracy_plt=