tensorflow
zzyy0929
Master Degree Candidate, School of Computer Science and Technology, USTC
Bachelor Degree, School of IoT Engineering, Jiangnan University.
展开
-
tensorflow学习笔记1
卷积与池化: 卷积: 1.stride [1,2,2,1] 卷积步长为2, 第1\4参数为1.分别表示batch和channel VALID:without padding(仅丢弃下面或右边最多的行/列) SAME:with zero padding 左奇右偶,在左边补一个0,右边补2个0 weight_variable: # 第一二参数值得卷积核尺寸大小,即patch=5*5...原创 2018-08-06 21:14:38 · 223 阅读 · 0 评论 -
Tensorflow 之RNN
labels = tf.reshape(y, [-1]) 将矩阵变为一行 output = np.reshape(aa, -1) output = np.reshape(aa, [-1,5]) -1表示一个占位符,分为5列。 RNNcell: 它是TensorFlow中实现RNN的基本单元,每个RNNCell都有一个call方法,使用方式是:(output, next_state) = ca...原创 2018-08-06 21:15:40 · 848 阅读 · 0 评论