libeblearn
|
#include <ebl_nonlinearity.h>
Public Member Functions | |
abs_module (double thresh=0.0) | |
virtual | ~abs_module () |
Destructor. | |
virtual void | fprop (Tstate &in, Tstate &out) |
forward propagation from in to out | |
virtual void | bprop (Tstate &in, Tstate &out) |
backward propagation from out to in | |
virtual void | bbprop (Tstate &in, Tstate &out) |
second-derivative backward propagation from out to in | |
virtual abs_module< T, Tstate > * | copy () |
Returns a deep copy of this module. |
This module takes the absolute value of its input. This module is spatially replicable (the input can have an order greater than 1 and the operation will apply to all elements).
ebl::abs_module< T, Tstate >::abs_module | ( | double | thresh = 0.0 | ) |
Constructor. threshold makes the derivative of abs flat around zero with radius threshold.