拓端tecdat|用TensorFlow实现MNIST神经网络
2020-03-25
阅读 1 分钟
1.1k原文链接:[链接]这里,我们用TensorFlow实现一个3层,即输入层、隐藏层、输出层的神经网络。引入相关模块 # tensorflow 自带mnist模块 {代码...} 这里有个one\_hot=True,one\_hot表示独热编码,可以看下面的图片理解意思: one hot encoding参数设置 {代码...} learning rate是学习的速度,每次更新参数时的步长...