This machine simply adds up its input vectors.
Inheritance:
Public Fields
-
int n_machines
- the number of input vectors
Public Methods
-
SumMachine(int n_units, int n_machines_)
Public Fields
-
bool is_free
-
List* params
-
List* der_params
-
int n_params
-
real* beta
Public Methods
-
virtual void init()
-
virtual int numberOfParams()
-
virtual void iterInitialize()
-
virtual void backward(List* inputs, real* alpha)
-
virtual void allocateMemory()
-
virtual void freeMemory()
-
virtual void loadFILE(FILE* file)
-
virtual void saveFILE(FILE* file)
Inherited from Machine:
Public Fields
-
int n_inputs
-
int n_outputs
-
List* outputs
Public Methods
-
virtual void forward(List* inputs)
-
virtual void reset()
Inherited from Object:
Public Methods
-
void addOption(const char* name, int size, void* ptr, const char* help="", bool is_allowed_after_init=false)
-
void addIOption(const char* name, int* ptr, int init_value, const char* help="", bool is_allowed_after_init=false)
-
void addROption(const char* name, real* ptr, real init_value, const char* help="", bool is_allowed_after_init=false)
-
void addBOption(const char* name, bool* ptr, bool init_value, const char* help="", bool is_allowed_after_init=false)
-
void setOption(const char* name, void* ptr)
-
void setIOption(const char* name, int option)
-
void setROption(const char* name, real option)
-
void setBOption(const char* name, bool option)
-
void load(const char* filename)
-
void save(const char* filename)
Documentation
This machine simply adds up its input vectors. Formally speaking,
where
spans the size of the
vectors and
spans the number of input vectors.
int n_machines
- the number of input vectors
SumMachine(int n_units, int n_machines_)
- This class has no child classes.
- Author:
- Samy Bengio (bengio@idiap.ch)
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.