這是CONV2函數的matlab幫助文件,用於CNN Matlab(獲取卷積圖層)。仔細閱讀,你會看到你的答案。
%CONV2 Two dimensional convolution.
% C = CONV2(A, B) performs the 2-D convolution of matrices A and B.
% If [ma,na] = size(A), [mb,nb] = size(B), and [mc,nc] = size(C), then
% mc = max([ma+mb-1,ma,mb]) and nc = max([na+nb-1,na,nb]).
%
% C = CONV2(H1, H2, A) convolves A first with the vector H1 along the
% rows and then with the vector H2 along the columns. If n1 = length(H1)
% and n2 = length(H2), then mc = max([ma+n1-1,ma,n1]) and
% nc = max([na+n2-1,na,n2]).
%
% C = CONV2(..., SHAPE) returns a subsection of the 2-D
% convolution with size specified by SHAPE:
% 'full' - (default) returns the full 2-D convolution,
% 'same' - returns the central part of the convolution
% that is the same size as A.
% 'valid' - returns only those parts of the convolution
% that are computed without the zero-padded edges.
% **size(C) = max([ma-max(0,mb-1),na-max(0,nb-1)],0).**
您可以列舉您閱讀的卷積神經網絡的書籍/文章嗎?提前致謝。 – lmsasu 2011-12-30 13:57:43
這是來自神經網絡和學習機器,第三版的書 – 2011-12-30 15:22:21
我也很困惑,這個卷積實際上是非常重要的部分(因此名稱'卷積NN'),但大多數人似乎專注於解釋CNN如何工作,並忽略「如何獲取功能地圖」部分。 我很困惑(也很生氣),直到我找到這個網站:http://www1.i2r.a-star.edu.sg/~irkhan/conn2.html 它用簡單的英語解釋了一切。 – 2013-04-20 05:08:48