#include <nnet-training.h>
Public Member Functions | |
ObjectiveFunctionInfo () | |
void | UpdateStats (const std::string &output_name, int32 minibatches_per_phase, int32 minibatch_counter, BaseFloat this_minibatch_weight, BaseFloat this_minibatch_tot_objf, BaseFloat this_minibatch_tot_aux_objf=0.0) |
void | PrintStatsForThisPhase (const std::string &output_name, int32 minibatches_per_phase, int32 phase) const |
bool | PrintTotalStats (const std::string &output_name) const |
Public Attributes | |
int32 | current_phase |
int32 | minibatches_this_phase |
double | tot_weight |
double | tot_objf |
double | tot_aux_objf |
double | tot_weight_this_phase |
double | tot_objf_this_phase |
double | tot_aux_objf_this_phase |
Definition at line 123 of file nnet-training.h.
|
inline |
Definition at line 138 of file nnet-training.h.
void PrintStatsForThisPhase | ( | const std::string & | output_name, |
int32 | minibatches_per_phase, | ||
int32 | phase | ||
) | const |
Definition at line 269 of file nnet-training.cc.
References KALDI_LOG.
bool PrintTotalStats | ( | const std::string & | output_name | ) | const |
Definition at line 312 of file nnet-training.cc.
References KALDI_LOG.
Referenced by NnetChainTrainer::PrintTotalStats(), and NnetTrainer::PrintTotalStats().
void UpdateStats | ( | const std::string & | output_name, |
int32 | minibatches_per_phase, | ||
int32 | minibatch_counter, | ||
BaseFloat | this_minibatch_weight, | ||
BaseFloat | this_minibatch_tot_objf, | ||
BaseFloat | this_minibatch_tot_aux_objf = 0.0 |
||
) |
Definition at line 242 of file nnet-training.cc.
References KALDI_ASSERT.
int32 current_phase |
Definition at line 124 of file nnet-training.h.
int32 minibatches_this_phase |
Definition at line 125 of file nnet-training.h.
double tot_aux_objf |
Definition at line 130 of file nnet-training.h.
double tot_aux_objf_this_phase |
Definition at line 136 of file nnet-training.h.
double tot_objf |
Definition at line 129 of file nnet-training.h.
double tot_objf_this_phase |
Definition at line 135 of file nnet-training.h.
double tot_weight |
Definition at line 128 of file nnet-training.h.
double tot_weight_this_phase |
Definition at line 134 of file nnet-training.h.