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

Configuration variables that affect how frame-level shuffling is done. More...

#include <nnet-randomizer.h>

Collaboration diagram for NnetDataRandomizerOptions:

Public Member Functions

 NnetDataRandomizerOptions ()
 
void Register (OptionsItf *opts)
 

Public Attributes

int32 randomizer_size
 Maximum number of samples we have in memory,. More...
 
int32 randomizer_seed
 
int32 minibatch_size
 

Detailed Description

Configuration variables that affect how frame-level shuffling is done.

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

Constructor & Destructor Documentation

Definition at line 43 of file nnet-randomizer.h.

43  :
44  randomizer_size(32768),
45  randomizer_seed(777),
46  minibatch_size(256)
47  { }
int32 randomizer_size
Maximum number of samples we have in memory,.

Member Function Documentation

void Register ( OptionsItf opts)
inline

Definition at line 49 of file nnet-randomizer.h.

References OptionsItf::Register().

Referenced by main().

49  {
50  opts->Register("randomizer-size", &randomizer_size,
51  "Capacity of randomizer, length of concatenated utterances which, "
52  "are used for frame-level shuffling (in frames, affects memory "
53  "consumption, max 8000000).");
54  opts->Register("randomizer-seed", &randomizer_seed,
55  "Seed value for srand, sets fixed order of frame-level shuffling");
56  opts->Register("minibatch-size", &minibatch_size, "Size of a minibatch.");
57  }
int32 randomizer_size
Maximum number of samples we have in memory,.

Member Data Documentation

int32 randomizer_seed

Definition at line 40 of file nnet-randomizer.h.

Referenced by RandomizerMask::Init().


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