我无法理解为什么使用我的参数进行 tensorflow maxpooling。
当使用and执行 maxpool 时ksize=2,strides=2我得到以下输出padding SAMEpadding VALID
input : (?, 28, 28, 1)
conv2d_out : (?, 28, 28, 32)
maxpool2d_out : (?, 14, 14, 32)
ksize=3但是当我尝试使用and执行 maxpool 时strides=1,我得到以下输出:
input : (?, 28, 28, 1)
conv2d_out : (?, 28, 28, 32)
maxpool2d_out : (?, 28, 28, 32) PADDING SAME
maxpool2d_out : (?, 26, 26, 32) PADDING VALID
maxpool withksize=2和strides=2usingpadding SAME应该已经产生了输出maxpool2d_out : (?, 28, 28, 32)
关于使用填充的最大池化是如何工作的,我错过了什么吗?
**CODE**==Python_