libeblearn
|
#include <ebl_basic.h>
Public Member Functions | |
thres_module (T thres, T val) | |
virtual | ~thres_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 | |
Public Attributes | |
T | thres |
T | val |
A thresholding module that filters the input and any entry that is smaller then a given threshold is set to a specified value.
ebl::thres_module< T, Tstate >::thres_module | ( | T | thres, |
T | val | ||
) |
<thres> is the threshold value that is used to filter the input. <val> is the value that is used to replace any input entry. smaller than <thres>.