The Complete SPRLIB & ANNLIB
grad_unit
- calculate the gradient of all parameters belonging to one unit (LOCAL)
SYNOPSIS
ARGUMENTS
UNIT | *unit | A pointer to a UNIT. |
RETURNS
Nothing.
FUNCTION
This function calculates the gradient of all the parameters belonging to
one unit: the bias (theta) and all the weights found by following the
InLinks linked list.
NOTE
This function is used by the function grad_net. The code is an
adaptation of the back-propagation function
bp_adapt_unit.
This document was generated using api2html on Thu Mar 5 09:00:00 MET DST 1998