libeblearn
|
Public Member Functions | |
layers_2 (module_1_1< T, Tin, Thid > &l1, Thid &h, module_1_1< T, Thid, Tout > &l2) | |
virtual void | fprop (Tin &in, Tout &out) |
virtual void | bprop (Tin &in, Tout &out) |
virtual void | bbprop (Tin &in, Tout &out) |
virtual void | forget (forget_param_linear &fp) |
virtual void | normalize () |
virtual fidxdim | fprop_size (fidxdim &i_size) |
virtual fidxdim | bprop_size (const fidxdim &o_size) |
virtual std::string | pretty (idxdim &isize) |
Public Attributes | |
module_1_1< T, Tin, Thid > & | layer1 |
Thid & | hidden |
module_1_1< T, Thid, Tout > & | layer2 |
fidxdim ebl::layers_2< T, Tin, Thid, Tout >::bprop_size | ( | const fidxdim & | o_size | ) | [virtual] |
given the output dimensions, returns the input dimensions. the implementation of this method helps automatic scaling of input data but is optional.
Reimplemented from ebl::module_1_1< T, Tin, Tout >.
fidxdim ebl::layers_2< T, Tin, Thid, Tout >::fprop_size | ( | fidxdim & | i_size | ) | [virtual] |
given the input dimensions, modifies it to be compliant with module's architecture, and returns the output dimensions corresponding to modified input dimensions. the implementation of this method helps automatic scaling of input data but is optional.
Recompute the input size to be compliant with the output
Reimplemented from ebl::module_1_1< T, Tin, Tout >.
std::string ebl::layers_2< T, Tin, Thid, Tout >::pretty | ( | idxdim & | isize | ) | [virtual] |
Prints the forward transformation of dimensions in a string and return it. This method calls fprop_size to determine the output size given the input.
Reimplemented from ebl::module_1_1< T, Tin, Tout >.