What is the derivative of multiplyLayer in convolutional networks?
조회 수: 4 (최근 30일)
이전 댓글 표시
I am defining a class "multiplyLayer" which can multiply (element-wise) a list of inputs. The forward function of this layer is
function Z = predict( this, X )
Z = X{1};
for i = 2:this.NumInputs
Z = Z.*X{i};
end
end
X is a matrix of inputs, and NumInputs is the number of inputs. My question is what is the derivative (or backward function) of this layer?
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!