libeblearn
ebl::layers_2< T, Tin, Thid, Tout > Class Template Reference
Inheritance diagram for ebl::layers_2< T, Tin, Thid, Tout >:
ebl::module_1_1< T, Tin, Tout > ebl::module

List of all members.

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

template<typename T, class Tin = bbstate_idx<T>, class Thid = Tin, class Tout = Tin>
class ebl::layers_2< T, Tin, Thid, Tout >


Member Function Documentation

template<typename T , class Tin , class Thid , class Tout >
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 >.

template<typename T , class Tin , class Thid , class 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 >.

template<typename T , class Tin , class Thid , class 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 >.


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