tensorflow
文章平均质量分 74
luoganttcc
微信:luogantt2
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
tensorflow 进阶(一)------softmax回归
#!/usr/bin/env python3# -*- coding: utf-8 -*-"""Created on Thu Mar 22 22:15:25 2018@author: luogan"""from tensorflow.examples.tutorials.mnist import input_datamnist=input_data.read_data_sets...转载 2018-03-22 23:20:15 · 424 阅读 · 0 评论 -
cifar-10 cnn 分类
代码链接原文链接 github链接正确率有0.7左右原创 2018-03-26 17:45:31 · 728 阅读 · 0 评论 -
tensorflow 中 VALID 和 SAME
import tensorflow as tfinp = tf.Variable(tf.random_normal([1,5,5,5])) fil = tf.Variable(tf.random_normal([3,3,5,2])) op = tf.nn.conv2d(inp, fil, strides=[1, 2, 2, 1], padding='VALID') op1 = tf.n...原创 2018-03-25 17:05:11 · 465 阅读 · 0 评论 -
tf.reshape()
#!/usr/bin/env python3# -*- coding: utf-8 -*-"""Created on Sat Mar 24 16:35:11 2018@author: luogan"""'''from tensorflow.examples.tutorials.mnist import input_datamnist=input_data.read_data_...原创 2018-03-25 16:54:19 · 924 阅读 · 0 评论 -
VALID SAME
区别SAME和VALIDVALIDinput = tf.Variable(tf.random_normal([1,5,5,5])) filter = tf.Variable(tf.random_normal([3,3,5,1])) op = tf.nn.conv2d(input, filter, strides=[1, 1, 1, 1], padding='VALID') ...转载 2018-03-24 19:19:27 · 303 阅读 · 0 评论 -
tensorflow 进阶 五 ---TensorFlow conv2d原理及实践
tf.nn.conv2d(input, filter, strides, padding, use_cudnn_on_gpu=None, data_format=None, name=None)官方教程说明:给定四维的input和filter tensor,计算一个二维卷积Args:input: A Tensor. type必须是以下几种类型之一: half, float32, f...转载 2018-03-24 19:16:51 · 1127 阅读 · 0 评论 -
tensorflow 进阶(四)---CNN
#!/usr/bin/env python3# -*- coding: utf-8 -*-"""Created on Thu Mar 22 22:15:25 2018@author: luogan"""from tensorflow.examples.tutorials.mnist import input_datamnist=input_data.re转载 2018-03-23 18:25:11 · 364 阅读 · 0 评论 -
tensorflow 进阶(三),BP神经网络之两层hidden_layer
本文与上一篇文章有一点不同,就是中间的隐藏层由一层变成两层,在神经网络搭建的过程中,曾出现一点问题,就是正确率图突然变成0.11,通过调整隐藏节点的数量和W2的初值,正确率达到0.97,不如只有一层神经网络的结果神经网络并不是越深越好神经网络的结构应当接近与橄榄型对于ML而言,不宜多于五层#!/usr/bin/env python...原创 2018-03-23 13:45:35 · 4670 阅读 · 0 评论 -
tensorflow 进阶(二),BP神经网络
这是一个三层的神经网络,只含有一个隐藏层.正确率有98%#!/usr/bin/env python3# -*- coding: utf-8 -*-"""Created on Thu Mar 22 22:15:25 2018@author: luogan"""from tensorflow.examples.tutorials.mnist import input_da...转载 2018-03-23 10:27:28 · 2206 阅读 · 0 评论 -
tensorflow 英文文档
英文中文原创 2018-08-28 12:35:58 · 567 阅读 · 0 评论
分享