Inheritance:
Public Fields
-
Linear* hidden_layer_lin
- the first Linear layer
-
GradientMachine* hidden_layer_nonlin
- the first Tanh or Sigmoid layer
-
Linear* output_layer_lin
- the second Linear layer
-
GradientMachine* output_layer_nonlin
- the optional second Softmax, Sigmoid or Tanh layer
-
int n_mlp_hidden
- the number of hidden units
-
int n_mlp_inputs
- the number of inputs
-
int n_mlp_outputs
- the number of outputs
Public Methods
-
SpeechMLP( char* quicknet_mlpw_filename, int n_cw_vecs_=9, char* quicknet_norms_filename=NULL, bool online_norm=false, real alpha_m_=0.005, real alpha_v_=0.005, bool lna8_outputs_=false )
- Constructor for the SpeechMLP class - reads a Quicknet MLPW format file
Public Methods
-
void addFCL(GradientMachine* machine)
-
void addMachine(GradientMachine* machine)
-
void connectOn(GradientMachine* machine)
-
void addLayer()
-
void build()
Public Fields
-
int n_inputs
-
int n_outputs
-
Parameters* params
-
Parameters* der_params
-
Sequence* beta
Public Methods
-
virtual void iterInitialize()
-
virtual void forward(Sequence* inputs)
-
virtual void backward(Sequence* inputs, Sequence* alpha)
-
virtual void setPartialBackprop(bool flag=true)
-
virtual void frameForward(int t, real* f_inputs, real* f_outputs)
-
virtual void frameBackward(int t, real* f_inputs, real* beta_, real* f_outputs, real* alpha_)
-
virtual void loadXFile(XFile* file)
-
virtual void saveXFile(XFile* file)
Inherited from Machine:
Public Fields
-
Sequence* outputs
Public Methods
-
virtual void reset()
-
virtual void setDataSet(DataSet* dataset_)
Inherited from Object:
Public Fields
-
Allocator* allocator
Public Methods
-
void addOption(const char* name, int size, void* ptr, const char* help="")
-
void addIOption(const char* name, int* ptr, int init_value, const char* help="")
-
void addROption(const char* name, real* ptr, real init_value, const char* help="")
-
void addBOption(const char* name, bool* ptr, bool init_value, const char* help="")
-
void addOOption(const char* name, Object** ptr, Object* init_value, const char* help="")
-
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 setOOption(const char* name, Object* option)
-
void load(const char* filename)
-
void save(const char* filename)
-
void* operator new(size_t size, Allocator* allocator_=NULL)
-
void* operator new(size_t size, Allocator* allocator_, void* ptr_)
-
void operator delete(void* ptr)
Documentation
- Linear* hidden_layer_lin
- the first Linear layer
- GradientMachine* hidden_layer_nonlin
- the first Tanh or Sigmoid layer
- Linear* output_layer_lin
- the second Linear layer
- GradientMachine* output_layer_nonlin
- the optional second Softmax, Sigmoid or Tanh layer
- int n_mlp_hidden
- the number of hidden units
- int n_mlp_inputs
- the number of inputs
- int n_mlp_outputs
- the number of outputs
- SpeechMLP( char* quicknet_mlpw_filename, int n_cw_vecs_=9, char* quicknet_norms_filename=NULL, bool online_norm=false, real alpha_m_=0.005, real alpha_v_=0.005, bool lna8_outputs_=false )
- Constructor for the SpeechMLP class - reads a Quicknet MLPW format file
- This class has no child classes.
- Author:
- Darren Moore (moore@idiap.ch)
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.