You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here I just want to perform a convolution operation with ten 4*10 filters on a single 4*20 image with only one channel. After the convolution ,there is a ReLU activation layer, followed with a max pooling layer. For the max pooling layer, the window size is just 1*5 and the stride comes with the same size. sample is just a random image with desired size. mat1 and mat2 are the output after sample going through these designed layers, conv2d+ReLU and conv2d+ReLU+max_pool respectively.
Am I supposed to get an all-zero array from the last line of the code np.max(mat1[0,0,0:5,:],axis=0)-mat2[0,0,0,:]. Please point out if I understand tf.nn.max_pool() in a wrong way. Great thanks.
This question is better asked on StackOverflow since it is not a bug or feature request. There is also a larger community that reads questions there. Thanks!
If anyone else has similar questions, please check the "SAME" configuration of tf.nn.max_pool. The function pads zeros left and right rather than right only.
Activity
girving commentedon May 12, 2017
This question is better asked on StackOverflow since it is not a bug or feature request. There is also a larger community that reads questions there. Thanks!
wgmao commentedon May 12, 2017
I'm sorry to ask the question in the wrong place.
If anyone else has similar questions, please check the "SAME" configuration of
tf.nn.max_pool. The function pads zeros left and right rather than right only.PR #9851: [XLA:GPU] Enable CUDA graph capture for cuDNN GEMM fusions.
Update XNNPACK in XLA
Update XNNPACK in XLA
Update XNNPACK in XLA
Update XNNPACK in XLA
Update XNNPACK in XLA
Update XNNPACK in XLA
Update XNNPACK in XLA
Update XNNPACK in XLA
Update XNNPACK in XLA