TrainingGraphCompilerOptions Struct Reference

#include <training-graph-compiler.h>

Collaboration diagram for TrainingGraphCompilerOptions:

Public Member Functions

 TrainingGraphCompilerOptions (BaseFloat transition_scale=1.0, BaseFloat self_loop_scale=1.0, bool b=true)
 
void Register (OptionsItf *opts)
 

Public Attributes

BaseFloat transition_scale
 
BaseFloat self_loop_scale
 
bool rm_eps
 
bool reorder
 

Detailed Description

Definition at line 32 of file training-graph-compiler.h.

Constructor & Destructor Documentation

◆ TrainingGraphCompilerOptions()

Member Function Documentation

◆ Register()

void Register ( OptionsItf opts)
inline

Definition at line 47 of file training-graph-compiler.h.

References OptionsItf::Register().

Referenced by main().

47  {
48  opts->Register("transition-scale", &transition_scale, "Scale of transition "
49  "probabilities (excluding self-loops)");
50  opts->Register("self-loop-scale", &self_loop_scale, "Scale of self-loop vs. "
51  "non-self-loop probability mass ");
52  opts->Register("reorder", &reorder, "Reorder transition ids for greater decoding efficiency.");
53  opts->Register("rm-eps", &rm_eps, "Remove [most] epsilons before minimization (only applicable "
54  "if disambig symbols present)");
55  }

Member Data Documentation

◆ reorder

◆ rm_eps

◆ self_loop_scale

◆ transition_scale


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