| Neural Network Toolbox | ![]() |
Sum net input derivative function
Syntax
Description
dnetsum is the net input derivative function for netsum.
and returns the S x Q derivative dN/dZ.
Examples
Here we define two weighted inputs for a layer with three neurons.
We calculate the layer's net input N with netsum and then the derivative of N with respect to each weighted input.
Algorithm
The derivative of a sum with respect to any element of that sum is always a ones matrix that is the same size as the sum.
See Also
| dnetprod | dotprod | ![]() |
© 1994-2005 The MathWorks, Inc.