Can I Implement a Point-wise Operation via convolution3dLayer?

3 visualizaciones (últimos 30 días)
Theron FARRELL
Theron FARRELL el 5 de Jun. de 2019
Editada: Theron FARRELL el 5 de Jun. de 2019
Hi there,
Because there is no point-wise convolution layer in MATLAB, is that correct if I implement it by
% Suppose that there are n channels in the input, that is, n 2D arrays in the input
filterSize = [1, 1, n];
numFilters = 1;
Padding = 'same';
layer = convolution3dLayer(filterSize, numFilters, PaddingMode, 'same');
That is, I conduct 1 convolution along the thrid dimension of the input only.
An associated question, when I run
layer = convolution3dLayer(filterSize, numFilters, 'PaddingSize', [0, 0, 0; 0, 0, 0])
as per the doc
捕获.JPGMATLAB tells me the following:
Error using convolution3dLayer>iParseInputArguments
(line 153)
'PaddingSize' is not a recognized parameter. For a
list of valid name-value pair arguments, see the
documentation for this function.
Error in convolution3dLayer (line 124)
args = iParseInputArguments(varargin{:});
Instead, I have to run
layer = convolution3dLayer(filterSize, numFilters, 'Padding', [0, 0, 0; 0, 0, 0])
I am wondering if that is because the doc has not been updated in time...
Thanks.

Respuestas (0)

Etiquetas

Productos


Versión

R2019a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by