Professional Documents
Culture Documents
The element passed to the dOutdX function is always a weight. Namely it is the weight that we
are doing the partial over. Your job is to figure out how to define dOutdX() in terms of
recursively calling dOutdX() or output() over the inputs + weights of a network element.
For example, consider the Performance element P, P.dOutdX(w) could be defined in the
following recursive fashion:
dP/d(w) = dP/do
= (d-o)
* do/dw
# applying the chain rule
* o.dOutdX(w)