class SpeechMLP


Inheritance:


Public Fields

[more]Linear* hidden_layer_lin
the first Linear layer
[more]GradientMachine* hidden_layer_nonlin
the first Tanh or Sigmoid layer
[more]Linear* output_layer_lin
the second Linear layer
[more]GradientMachine* output_layer_nonlin
the optional second Softmax, Sigmoid or Tanh layer
[more]int n_mlp_hidden
the number of hidden units
[more]int n_mlp_inputs
the number of inputs
[more]int n_mlp_outputs
the number of outputs

Public Methods

[more] 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


Inherited from ConnectedMachine:

Public Methods

ovoid addFCL(GradientMachine* machine)
ovoid addMachine(GradientMachine* machine)
ovoid connectOn(GradientMachine* machine)
ovoid addLayer()
ovoid build()


Inherited from GradientMachine:

Public Fields

oint n_inputs
oint n_outputs
oParameters* params
oParameters* der_params
oSequence* beta

Public Methods

ovirtual void iterInitialize()
ovirtual void forward(Sequence* inputs)
ovirtual void backward(Sequence* inputs, Sequence* alpha)
ovirtual void setPartialBackprop(bool flag=true)
ovirtual void frameForward(int t, real* f_inputs, real* f_outputs)
ovirtual void frameBackward(int t, real* f_inputs, real* beta_, real* f_outputs, real* alpha_)
ovirtual void loadXFile(XFile* file)
ovirtual void saveXFile(XFile* file)


Inherited from Machine:

Public Fields

oSequence* outputs

Public Methods

ovirtual void reset()
ovirtual void setDataSet(DataSet* dataset_)


Inherited from Object:

Public Fields

oAllocator* allocator

Public Methods

ovoid addOption(const char* name, int size, void* ptr, const char* help="")
ovoid addIOption(const char* name, int* ptr, int init_value, const char* help="")
ovoid addROption(const char* name, real* ptr, real init_value, const char* help="")
ovoid addBOption(const char* name, bool* ptr, bool init_value, const char* help="")
ovoid addOOption(const char* name, Object** ptr, Object* init_value, const char* help="")
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 setOOption(const char* name, Object* option)
ovoid load(const char* filename)
ovoid save(const char* filename)
ovoid* operator new(size_t size, Allocator* allocator_=NULL)
ovoid* operator new(size_t size, Allocator* allocator_, void* ptr_)
ovoid operator delete(void* ptr)


Documentation

oLinear* hidden_layer_lin
the first Linear layer

oGradientMachine* hidden_layer_nonlin
the first Tanh or Sigmoid layer

oLinear* output_layer_lin
the second Linear layer

oGradientMachine* output_layer_nonlin
the optional second Softmax, Sigmoid or Tanh layer

oint n_mlp_hidden
the number of hidden units

oint n_mlp_inputs
the number of inputs

oint n_mlp_outputs
the number of outputs

o 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++.