TensorFlow函数&参数解析
xgyyxs
这个作者很懒,什么都没留下…
展开
-
【TensorFlow】卷积、池化中参数padding的两种形式“SAME”和“VALID”
import tensorflow as tf x = tf.constant([[1., 2., 3.,4., 5., 6.,7.,8.,9.], [1., 2., 3.,4., 5., 6.,7.,8.,9.], [1., 2., 3.,4., 5., 6.,7.,8.,9.],]) x = tf.reshape(x, [1...原创 2019-10-19 20:27:07 · 645 阅读 · 0 评论 -
【TensorFlow】-- 参数strides、ksize的含义
strides=[1, 1, 1, 1]的含义 strides[0] = 1 在 batch 维度上的移动为 1,也就是不跳过任何一个样本 strides[1] = 1 在宽度的方向上步长为1 strides[2] = 1 在高度的方向上步长为1 strides[3] = 1 在 channels 维度上的移动为 1,也就是不跳过任何一个颜色通道; ...原创 2019-10-19 17:19:18 · 4213 阅读 · 0 评论