![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
tensorflow
文章平均质量分 85
xyxd190
这个作者很懒,什么都没留下…
展开
-
tensorflow从入门到放弃---第一篇
一 import tensorflow as tf a=3 w=tf.Variable([[0.5, 1.0 ]]) x=tf.Variable([ [2, 0], [1, 0] ]) y=tf.matmul(w,x) print(y) init_op=tf.global_variables_initializer() with tf.Session() as原创 2017-04-05 03:23:12 · 4140 阅读 · 1 评论 -
tensorflow从入门到放弃---第二篇
案例五:通过tensorflow实现一个简单的卷积神经网络 import numpy as np import tensorflow as tf import matplotlib.pyplot as plt import input_data mnist = input_data.read_data_sets('data/', one_hot=True) trainimg原创 2017-04-05 14:09:29 · 883 阅读 · 0 评论 -
tensorflow从入门到放弃---第三篇
VGG卷积神经网络: import scipy.io import numpy as np import os import scipy.misc import matplotlib.pyplot as plt import tensorflow as tf #定义卷积层 def _conv_layer(input, weights, bias): conv =原创 2017-04-06 15:46:44 · 624 阅读 · 0 评论 -
tensorflow从入门到放弃---第四篇
使用RNN处理Mnist数据集 首先什么是RNN?---递归神经网络(循环神经网络) 意思就是x1样本输入时候,其输出结果受到前一阶段x0的影响,即h1=(x1+x0*w0)*w1 同理,x3样本输入时候,其输出结果受到x1,x2的影响 总结:在RNN中,x3受到x1,x2的影响,且影响权重一样 RNN的升级版----LSTM网络结构 而居然后面输原创 2017-04-06 20:23:23 · 672 阅读 · 0 评论