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

◆ NnetSimpleTrainerConfig()

Member Function Documentation

◆ Register()

void Register ( OptionsItf opts)
inline

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

References OptionsItf::Register(), and kaldi::nnet2::TrainNnetSimple().

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

◆ minibatch_size

int32 minibatch_size

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

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

◆ minibatches_per_phase

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: