All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
NnetWidenConfig Struct Reference

Configuration class that controls neural net "widening", which means increasing the dimension of the hidden layers of an already-trained neural net. More...

#include <widen-nnet.h>

Collaboration diagram for NnetWidenConfig:

Public Member Functions

 NnetWidenConfig ()
 
void Register (OptionsItf *opts)
 

Public Attributes

int32 hidden_layer_dim
 
BaseFloat param_stddev_factor
 
BaseFloat bias_stddev
 

Detailed Description

Configuration class that controls neural net "widening", which means increasing the dimension of the hidden layers of an already-trained neural net.

Definition at line 33 of file widen-nnet.h.

Constructor & Destructor Documentation

NnetWidenConfig ( )
inline

Definition at line 38 of file widen-nnet.h.

Member Function Documentation

void Register ( OptionsItf opts)
inline

Definition at line 42 of file widen-nnet.h.

References OptionsItf::Register().

Referenced by main().

42  {
43  opts->Register("hidden-layer-dim", &hidden_layer_dim, "[required option]: "
44  "target dimension of hidden layers");
45  opts->Register("param-stddev-factor", &param_stddev_factor, "Factor in "
46  "standard deviation of linear parameters of new part of "
47  "transform (multiply by 1/sqrt of input-dim)");
48  opts->Register("bias-stddev", &bias_stddev, "Standard deviation of added "
49  "bias parameters");
50  }

Member Data Documentation

BaseFloat bias_stddev

Definition at line 36 of file widen-nnet.h.

Referenced by kaldi::nnet2::WidenNnet().

int32 hidden_layer_dim

Definition at line 34 of file widen-nnet.h.

Referenced by kaldi::nnet2::WidenNnet().

BaseFloat param_stddev_factor

Definition at line 35 of file widen-nnet.h.

Referenced by kaldi::nnet2::WidenNnet().


The documentation for this struct was generated from the following file: