FmpeUpdateOptions Struct Reference

#include <fmpe.h>

Collaboration diagram for FmpeUpdateOptions:

Public Member Functions

 FmpeUpdateOptions ()
 
void Register (OptionsItf *opts)
 

Public Attributes

BaseFloat learning_rate
 
BaseFloat l2_weight
 

Detailed Description

Definition at line 88 of file fmpe.h.

Constructor & Destructor Documentation

◆ FmpeUpdateOptions()

FmpeUpdateOptions ( )
inline

Definition at line 93 of file fmpe.h.

93 : learning_rate(0.1), l2_weight(100.0) { }
BaseFloat learning_rate
Definition: fmpe.h:89
BaseFloat l2_weight
Definition: fmpe.h:91

Member Function Documentation

◆ Register()

void Register ( OptionsItf opts)
inline

Definition at line 95 of file fmpe.h.

References OptionsItf::Register().

Referenced by main().

95  {
96  opts->Register("learning-rate", &learning_rate,
97  "Learning rate constant (like inverse of E in fMPE papers)");
98  opts->Register("l2-weight", &l2_weight,
99  "Weight on l2 regularization term in objective function.");
100  }
BaseFloat learning_rate
Definition: fmpe.h:89
BaseFloat l2_weight
Definition: fmpe.h:91

Member Data Documentation

◆ l2_weight

BaseFloat l2_weight

Definition at line 91 of file fmpe.h.

Referenced by Fmpe::Update().

◆ learning_rate

BaseFloat learning_rate

Definition at line 89 of file fmpe.h.

Referenced by kaldi::TestFmpe(), and Fmpe::Update().


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