20 #ifndef KALDI_NNET3_NNET_CHAIN_TRAINING_H_ 21 #define KALDI_NNET3_NNET_CHAIN_TRAINING_H_ 29 #include "chain/chain-training.h" 30 #include "chain/chain-den-graph.h" 43 chain_config.Register(opts);
44 opts->
Register(
"apply-deriv-weights", &apply_deriv_weights,
45 "If true, apply the per-frame derivative weights stored with " 65 bool PrintTotalStats()
const;
78 bool is_backstitch_step1);
99 unordered_map<std::string, ObjectiveFunctionInfo, StringHasher>
objf_info_;
111 #endif // KALDI_NNET3_NNET_CHAIN_TRAINING_H_
This code computes Goodness of Pronunciation (GOP) and extracts phone-level pronunciation feature for...
NnetChainTrainingOptions()
This class enables you to do the compilation and optimization in one call, and also ensures that if t...
void Register(OptionsItf *opts)
const NnetChainTrainingOptions opts_
fst::StdVectorFst StdVectorFst
chain::DenominatorGraph den_graph_
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_
MaxChangeStats max_change_stats_
int32 num_minibatches_processed_
NnetChainExample is like NnetExample, but specialized for lattice-free (chain) training.
NnetTrainerOptions nnet_config
class NnetComputer is responsible for executing the computation described in the "computation" object...
chain::ChainTrainingOptions chain_config
unordered_map< std::string, ObjectiveFunctionInfo, StringHasher > objf_info_
void Register(OptionsItf *opts)
This class is for single-threaded training of neural nets using the 'chain' model.