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

◆ NnetDataRandomizerOptions()

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

◆ Register()

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

◆ minibatch_size

int32 minibatch_size

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

Referenced by main(), UnitTestMatrixRandomizer(), and UnitTestVectorRandomizer().

◆ randomizer_seed

int32 randomizer_seed

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

Referenced by RandomizerMask::Init().

◆ randomizer_size

int32 randomizer_size

Maximum number of samples we have in memory,.

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

Referenced by UnitTestMatrixRandomizer(), UnitTestStdVectorRandomizer(), and UnitTestVectorRandomizer().


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