我無法理解爲什麼tensorflow maxpooling與我的參數。理解Tensorflow maxpooling
當ksize=2
和strides=2
我得到既padding SAME
和padding VALID
input : (?, 28, 28, 1)
conv2d_out : (?, 28, 28, 32)
maxpool2d_out : (?, 14, 14, 32)
但下面的輸出進行maxpool當我試圖藉此在maxpool與ksize=3
和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 with ksize=2
and strides=2
using padding SAME
should have produced輸出maxpool2d_out : (?, 28, 28, 32)
有沒有什麼我錯過了如何最大池填充工作?
**CODE**==
python_
請分享代碼 – nessuno
http://codepad.org/IwxshYr1 –