- 博客(3)
- 收藏
- 关注
原创 TensorFlow手写数字MNIST识别,两层卷积神经网路(代码及代码注释)最后的准确率0.99
import tensorflow as tffrom tensorflow.examples.tutorials.mnist import input_datamnist = input_data.read_data_sets('/2017/python/',one_hot=True)#还不是太理解InteractiveSession(),要比Session()更方便些,启动session之前,...
2018-03-19 21:14:09 356
原创 TensorFlow手写字识别mnist入门篇(代码及详解)
import tensorflow as tffrom tensorflow.examples.tutorials.mnist import input_datamnist = input_data.read_data_sets('/2017/python/',one_hot=True)x = tf.placeholder("float",[None,784])#先占个位,占个tensor,等着喂...
2018-03-18 12:35:37 572
原创 TensorFlow笔记(1)
tf.random_uniform((4, 4), minval=low,maxval=high,dtype=tf.float32)))返回4*4的矩阵,产生于low和high之间,产生的值是均匀分布的。tf.zeros(shape, dtype=tf.float32, name=None)创建一个所有的参数为0的tensor对象This operation returns a tensor of...
2018-03-16 08:19:12 347
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人