- a local version of the linear transfer function (LOCAL)
SYNOPSIS
double samann_linear
(unit, pass)
ARGUMENTS
UNIT
*unit
The unit for which the output is to be calculated.
int
pass
The number of the activation to take (1 or 2).
RETURNS
The value of the linear transfer function for the
activation for sample pass.
FUNCTION
This is a local version of the linear transfer function (see TransSigmoid)
which is adapted for handling two activations per unit. The transfer function
is calculated using activation pass (see SAMANN_STRUCT).