![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
AI 练习代码
zhangyu4863
这个作者很懒,什么都没留下…
展开
-
mnist softmax函数
# -*- coding: utf-8 -*- # 读取数据图片,预处理 import tensorflow as tf import tensorflow.examples.tutorials.mnist.input_data as input_data # 加载mnist数据 mnist = input_data.read_data_sets("MNIST_data/", one_hot...原创 2018-07-20 17:40:50 · 38406 阅读 · 0 评论 -
mnist 神经网络
# -*- coding: utf-8 -*- # 神经网络 import tensorflow as tf import numpy as np from tensorflow.examples.tutorials.mnist import input_data # 加载数据 def init_weight(shape): # 初始化 return tf.Variable(t...原创 2018-07-20 17:41:51 · 38554 阅读 · 0 评论