class ConnectedMachine

Easy connections between several GradientMachine.

Inheritance:


Public Methods

[more] ConnectedMachine()
[more]void addFCL(GradientMachine* machine)
add a Full Connected Layer.
[more]void addMachine(GradientMachine* machine)
add a machine on the current layer
[more]void connectOn(GradientMachine* machine)
connect the last added machine on machine.
[more]void addLayer()
add a layer (you don't have to call that for the first layer)


Inherited from GradientMachine:

Public Fields

obool is_free
oList* params
oList* der_params
oint n_params
oreal* beta

Public Methods

ovirtual void init()
ovirtual int numberOfParams()
ovirtual void iterInitialize()
ovirtual void backward(List* inputs, real* alpha)
ovirtual void allocateMemory()
ovirtual void freeMemory()
ovirtual void loadFILE(FILE* file)
ovirtual void saveFILE(FILE* file)


Inherited from Machine:

Public Fields

oint n_inputs
oint n_outputs
oList* outputs

Public Methods

ovirtual void forward(List* inputs)
ovirtual void reset()


Inherited from Object:

Public Methods

ovoid addOption(const char* name, int size, void* ptr, const char* help="", bool is_allowed_after_init=false)
ovoid addIOption(const char* name, int* ptr, int init_value, const char* help="", bool is_allowed_after_init=false)
ovoid addROption(const char* name, real* ptr, real init_value, const char* help="", bool is_allowed_after_init=false)
ovoid addBOption(const char* name, bool* ptr, bool init_value, const char* help="", bool is_allowed_after_init=false)
ovoid setOption(const char* name, void* ptr)
ovoid setIOption(const char* name, int option)
ovoid setROption(const char* name, real option)
ovoid setBOption(const char* name, bool option)
ovoid load(const char* filename)
ovoid save(const char* filename)


Documentation

Easy connections between several GradientMachine. GradientMachine has "layers" on which you can add some GradientMachine.

The inputs of the machine on the first layer will be the inputs of the ConnectedMachine.

The outputs of the ConnectedMachine are the union (in the order of adding) of all machines on the last layer.

o ConnectedMachine()

ovoid addFCL(GradientMachine* machine)
add a Full Connected Layer. The machine is fully connected to the previous layer. If necessary, a layer is added before adding the machine.

ovoid addMachine(GradientMachine* machine)
add a machine on the current layer

ovoid connectOn(GradientMachine* machine)
connect the last added machine on machine. Note that machine must be in a previous layer.

ovoid addLayer()
add a layer (you don't have to call that for the first layer)


Direct child classes:
RBF
MLP
Author:
Ronan Collobert (collober@iro.umontreal.ca)

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.