Neural Network Toolbox
  Go to function:
    Search    Help Desk 
dnetsum    Examples   See Also

Sum net input derivative function

Syntax

dN_dZ = dnetsum(Z,N)

Description

dnetsum is the net input derivative function for netsum.

dnetsum takes two arguments,

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

netsum, netprod, dnetprod



[ Previous | Help Desk | Next ]