SplitDiscriminativeExampleConfig Struct Reference

Config structure for SplitExample, for splitting discriminative training examples. More...

#include <nnet-example-functions.h>

Collaboration diagram for SplitDiscriminativeExampleConfig:

Public Member Functions

 SplitDiscriminativeExampleConfig ()
 
void Register (OptionsItf *opts)
 

Public Attributes

int32 max_length
 
std::string criterion
 
bool collapse_transition_ids
 
bool determinize
 
bool minimize
 
bool test
 
bool drop_frames
 
bool split
 
bool excise
 

Detailed Description

Config structure for SplitExample, for splitting discriminative training examples.

Definition at line 51 of file nnet-example-functions.h.

Constructor & Destructor Documentation

◆ SplitDiscriminativeExampleConfig()

Member Function Documentation

◆ Register()

void Register ( OptionsItf opts)
inline

Definition at line 92 of file nnet-example-functions.h.

References OptionsItf::Register().

Referenced by main().

92  {
93 
94  opts->Register("max-length", &max_length, "Maximum length allowed for any "
95  "segment (i.e. max #frames for any example");
96  //opts->Register("target-length", &target_length, "Target length for a "
97  // "segment");
98  opts->Register("criterion", &criterion, "Criterion, 'mmi'|'mpfe'|'smbr'. "
99  "Determines which frames may be dropped from lattices.");
100  opts->Register("collapse-transition-ids", &collapse_transition_ids,
101  "This option included for debugging purposes");
102  opts->Register("determinize", &determinize, "If true, we determinize "
103  "lattices (as Lattice) before splitting and possibly minimize");
104  opts->Register("minimize", &minimize, "If true, we push and "
105  "minimize lattices (as Lattice) before splitting");
106  opts->Register("test", &test, "If true, activate self-testing code.");
107  // See "Sequence-discriminative training of deep neural networks", Vesely et al,
108  // ICASSP 2013 for explanation of frame dropping.
109  opts->Register("drop-frames", &drop_frames, "For MMI, if true we drop frames "
110  "with no overlap of num and den pdf-ids");
111  opts->Register("split", &split, "Set to false to disable lattice-splitting.");
112  opts->Register("excise", &excise, "Set to false to disable excising un-needed "
113  "frames (option included for debug purposes)");
114  }

Member Data Documentation

◆ collapse_transition_ids

bool collapse_transition_ids

◆ criterion

◆ determinize

bool determinize

◆ drop_frames

◆ excise

bool excise

Definition at line 85 of file nnet-example-functions.h.

Referenced by DiscriminativeExampleSplitter::Excise().

◆ max_length

int32 max_length

Definition at line 58 of file nnet-example-functions.h.

Referenced by SplitExampleStats::SplitExampleStats().

◆ minimize

bool minimize

◆ split

bool split

Definition at line 83 of file nnet-example-functions.h.

Referenced by DiscriminativeExampleSplitter::Split().

◆ test

bool test

Definition at line 74 of file nnet-example-functions.h.


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