20 #ifndef KALDI_NNET2_SHRINK_NNET_H_ 21 #define KALDI_NNET2_SHRINK_NNET_H_ 43 opts->
Register(
"num-bfgs-iters", &num_bfgs_iters,
"Number of iterations of " 44 "BFGS to use when optimizing shrinkage parameters");
45 opts->
Register(
"initial-step", &initial_step,
"Parameter in the optimization, " 46 "used to set the initial step length");
51 const std::vector<NnetExample> &validation_set,
This code computes Goodness of Pronunciation (GOP) and extracts phone-level pronunciation feature for...
virtual void Register(const std::string &name, bool *ptr, const std::string &doc)=0
Configuration class that controls neural net "shrinkage" which is actually a scaling on the parameter...
void Register(OptionsItf *opts)
void ShrinkNnet(const NnetShrinkConfig &shrink_config, const std::vector< NnetExample > &validation_set, Nnet *nnet)
This header provides functionality for sample-by-sample stochastic gradient descent and gradient comp...