![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
tensorflow
hxj_rain
流浪不是理想主义。
展开
-
tensorflow conv2d的padding解释以及参数解释
1、padding的方式: 说明: 1、摘录自http://stackoverflow.com/questions/37674306/what-is-the-difference-between-same-and-valid-padding-in-tf-nn-max-pool-of-t 2、不同的padding方式,VALID是采用丢弃的方式,比如上述的input_width=13,只允许滑动2次,转载 2017-02-20 10:50:15 · 693 阅读 · 0 评论 -
tensorFlow数据输入
一、TensorFlow 数据的输入 preloaded data : 预加载数据 Feeding : pyhthon 产生数据,再把数据喂给后端 Reading from file : 从文件中直接读取 Preload:import tensorflow as tf#define Graph x1 = tf.constant([2,3,4]) x2 = tf.constant([4,0,1]) y原创 2017-10-07 16:55:18 · 465 阅读 · 0 评论 -
TensorFlow for machine learning 基本模板
TensorFlow for machine learning 基本模板import tensorflow as tf import os#paramates W = tf.Variable(tf.zeros([5,1]),name = 'weight') b = tf.Variable(0,name = 'bias')def combine_inputs(X): return tf.mul原创 2017-10-07 16:56:39 · 278 阅读 · 0 评论