libeblearn
ebl::thres_module< T, Tstate > Class Template Reference

#include <ebl_basic.h>

Inheritance diagram for ebl::thres_module< T, Tstate >:
ebl::module_1_1< T, Tstate > ebl::module

List of all members.

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

thres
val

Detailed Description

template<typename T, class Tstate = bbstate_idx<T>>
class ebl::thres_module< T, Tstate >

A thresholding module that filters the input and any entry that is smaller then a given threshold is set to a specified value.


Constructor & Destructor Documentation

template<typename T , class Tstate >
ebl::thres_module< T, Tstate >::thres_module ( thres,
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>.


The documentation for this class was generated from the following files: