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

#include <train-nnet.h>

Collaboration diagram for NnetSimpleTrainerConfig:

Public Member Functions

 NnetSimpleTrainerConfig ()
 
void Register (OptionsItf *opts)
 

Public Attributes

int32 minibatch_size
 
int32 minibatches_per_phase
 

Detailed Description

Definition at line 31 of file train-nnet.h.

Constructor & Destructor Documentation

Definition at line 35 of file train-nnet.h.

Member Function Documentation

void Register ( OptionsItf opts)
inline

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

References OptionsItf::Register().

Referenced by main().

38  {
39  opts->Register("minibatch-size", &minibatch_size,
40  "Number of samples per minibatch of training data.");
41  opts->Register("minibatches-per-phase", &minibatches_per_phase,
42  "Number of minibatches to wait before printing training-set "
43  "objective.");
44  }

Member Data Documentation

int32 minibatch_size

Definition at line 32 of file train-nnet.h.

Referenced by kaldi::nnet2::TrainNnetSimple().

int32 minibatches_per_phase

Definition at line 33 of file train-nnet.h.

Referenced by kaldi::nnet2::TrainNnetSimple().


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