ebl::linear_module Class Reference

#include <EblBasic.h>

Inheritance diagram for ebl::linear_module:

ebl::module_1_1< Tin, Tout >

List of all members.

Public Member Functions

 linear_module (parameter &p, intg in, intg out)
virtual void fprop (state_idx &in, state_idx &out)
 forward propagation from in to out
virtual void bprop (state_idx &in, state_idx &out)
 backward propagation from out to in
virtual void bbprop (state_idx &in, state_idx &out)
 second-derivative backward propagation from out to in
virtual int replicable_order ()
 order of operation
virtual void forget (forget_param_linear &fp)
 forgetting weights by replacing with random values
virtual void normalize ()
 normalize
virtual void resize_output (state_idx &in, state_idx &out)
 resize the output based on input dimensions

Public Attributes

state_idx w


Detailed Description

This module applies a linears combination of the input <in> with its internal weight matrix w and puts the result in the output. This module has a replicable order of 1, if the input has a bigger order, use the replicable version of this module: linear_module_replicable.

Constructor & Destructor Documentation

ebl::linear_module::linear_module ( parameter p,
intg  in,
intg  out 
)

Constructor.

Parameters:
p is used to store all parametric variables in a single place.
in the size of the input to the linear combination.
out the size of the output to the linear combination.


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

Generated on Mon Mar 30 18:15:26 2009 for libeblearn by  doxygen 1.5.6