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

Configuration class that controls neural net combination, where we combine a number of neural nets, trying to find for each layer the optimal weighted combination of the different neural-net parameters. More...

#include <combine-nnet.h>

Collaboration diagram for NnetCombineConfig:

Public Member Functions

 NnetCombineConfig ()
 
void Register (OptionsItf *opts)
 

Public Attributes

int32 initial_model
 
int32 num_bfgs_iters
 
BaseFloat initial_impr
 
bool test_gradient
 

Detailed Description

Configuration class that controls neural net combination, where we combine a number of neural nets, trying to find for each layer the optimal weighted combination of the different neural-net parameters.

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

Constructor & Destructor Documentation

Member Function Documentation

void Register ( OptionsItf opts)
inline

Definition at line 50 of file combine-nnet.h.

References OptionsItf::Register().

Referenced by main().

50  {
51  opts->Register("initial-model", &initial_model, "Specifies where to start the "
52  "optimization from. If 0 ... #models-1, then specifies the model; "
53  "if #models, then the average of all inputs; otherwise, chosen "
54  "automatically from the previous options.");
55  opts->Register("num-bfgs-iters", &num_bfgs_iters, "Maximum number of function "
56  "evaluations for BFGS to use when optimizing combination weights");
57  opts->Register("initial-impr", &initial_impr, "Amount of objective-function change "
58  "we aim for on the first iteration.");
59  opts->Register("test-gradient", &test_gradient, "If true, activate code that "
60  "tests the gradient is accurate.");
61  }

Member Data Documentation

BaseFloat initial_impr

Definition at line 44 of file combine-nnet.h.

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

int32 initial_model

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

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

int32 num_bfgs_iters

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

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

bool test_gradient

Definition at line 45 of file combine-nnet.h.

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


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