20 #ifndef KALDI_NNET2_RESCALE_NNET_H_    21 #define KALDI_NNET2_RESCALE_NNET_H_    51                        target_first_layer_avg_deriv(0.3),
    52                        target_last_layer_avg_deriv(0.1),
    55                        max_change(0.2), min_change(1.0e-05) { }
    58     opts->
Register(
"target-avg-deriv", &target_avg_deriv, 
"Target average derivative "    59                    "for hidden layers that are the not the first or last hidden layer "    60                    "(as fraction of maximum derivative of the nonlinearity)");
    61     opts->
Register(
"target-first-layer-avg-deriv", &target_first_layer_avg_deriv,
    62                    "Target average derivative for the first hidden layer"    63                    "(as fraction of maximum derivative of the nonlinearity)");
    64     opts->
Register(
"target-last-layer-avg-deriv", &target_last_layer_avg_deriv,
    65                    "Target average derivative for the last hidden layer, if "    67                    "(as fraction of maximum derivative of the nonlinearity)");
    72                  const std::vector<NnetExample> &examples,
 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
 
void RescaleNnet(const NnetRescaleConfig &rescale_config, const std::vector< NnetExample > &examples, Nnet *nnet)
 
BaseFloat target_last_layer_avg_deriv
 
void Register(OptionsItf *opts)
 
BaseFloat target_avg_deriv
 
This header provides functionality for sample-by-sample stochastic gradient descent and gradient comp...
 
BaseFloat target_first_layer_avg_deriv