|
libeblearn
|
#include <ebl_basic.h>
Public Member Functions | |
| fsum_module (bool div=false, float split=1.0) | |
| virtual | ~fsum_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 | |
Protected Attributes | |
| bool | div |
| Normalize by number of elements used for sum. | |
| float | split |
| Sum by groups of n elements, n = features * split. | |
This modules iterates of the last two dimenions and takes the sum of the remaining dimensions.
| ebl::fsum_module< T, Tstate >::fsum_module | ( | bool | div = false, |
| float | split = 1.0 |
||
| ) |
constructor.
| div | If true, divide the sum by the number of elements used. |
| split | If non-1, sum every consecutive groups of size (number of features) * split. |