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!