21 #ifndef KALDI_NNET3_NNET_DISCRIMINATIVE_TRAINING_H_    22 #define KALDI_NNET3_NNET_DISCRIMINATIVE_TRAINING_H_    45     discriminative_config.
Register(opts);
    46     opts->
Register(
"apply-deriv-weights", &apply_deriv_weights,
    47                    "If true, apply the per-frame derivative weights stored with "    68   void UpdateStats(
const std::string &output_name,
    69                    const std::string &criterion,
    70                    int32 minibatches_per_phase,
    71                    int32 minibatch_counter,
    75   void PrintStatsForThisPhase(
const std::string &output_name,
    76                               const std::string &criterion,
    77                               int32 minibatches_per_phase) 
const;
    79   bool PrintTotalStats(
const std::string &output_name,
    80                        const std::string &criterion) 
const;
    98   bool PrintTotalStats() 
const;
   123   unordered_map<std::string, DiscriminativeObjectiveFunctionInfo, StringHasher> 
objf_info_;
   130 #endif // KALDI_NNET3_NNET_DISCRIMINATIVE_TRAINING_H_ 
This code computes Goodness of Pronunciation (GOP) and extracts phone-level pronunciation feature for...
 
NnetDiscriminativeOptions()
 
This class enables you to do the compilation and optimization in one call, and also ensures that if t...
 
void Register(OptionsItf *opts)
 
void Register(OptionsItf *opts)
 
virtual void Register(const std::string &name, bool *ptr, const std::string &doc)=0
 
The two main classes defined in this header are struct ComputationRequest, which basically defines a ...
 
CachingOptimizingCompiler compiler_
 
int32 num_minibatches_processed_
 
DiscriminativeObjectiveFunctionInfo()
 
const NnetDiscriminativeOptions opts_
 
discriminative::DiscriminativeOptions discriminative_config
 
const TransitionModel & tmodel_
 
This class is for single-threaded discriminative training of neural nets. 
 
discriminative::DiscriminativeObjectiveInfo stats
 
unordered_map< std::string, DiscriminativeObjectiveFunctionInfo, StringHasher > objf_info_
 
class NnetComputer is responsible for executing the computation described in the "computation" object...
 
discriminative::DiscriminativeObjectiveInfo stats_this_phase
 
Provides a vector abstraction class. 
 
NnetTrainerOptions nnet_config
 
CuVector< BaseFloat > log_priors_
 
NnetDiscriminativeExample is like NnetExample, but specialized for sequence training. 
 
void Register(OptionsItf *opts)