NnetRescaleConfig Struct Reference

#include <rescale-nnet.h>

Collaboration diagram for NnetRescaleConfig:

Public Member Functions

 NnetRescaleConfig ()
 
void Register (OptionsItf *opts)
 

Public Attributes

BaseFloat target_avg_deriv
 
BaseFloat target_first_layer_avg_deriv
 
BaseFloat target_last_layer_avg_deriv
 
BaseFloat num_iters
 
BaseFloat delta
 
BaseFloat max_change
 
BaseFloat min_change
 

Detailed Description

Definition at line 36 of file rescale-nnet.h.

Constructor & Destructor Documentation

◆ NnetRescaleConfig()

NnetRescaleConfig ( )
inline

Definition at line 50 of file rescale-nnet.h.

Member Function Documentation

◆ Register()

void Register ( OptionsItf opts)
inline

Definition at line 57 of file rescale-nnet.h.

References OptionsItf::Register(), and kaldi::nnet2::RescaleNnet().

57  {
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 "
66  "#hid-layers > 1"
67  "(as fraction of maximum derivative of the nonlinearity)");
68  }

Member Data Documentation

◆ delta

BaseFloat delta

Definition at line 44 of file rescale-nnet.h.

Referenced by NnetRescaler::RescaleComponent().

◆ max_change

BaseFloat max_change

Definition at line 45 of file rescale-nnet.h.

Referenced by NnetRescaler::RescaleComponent().

◆ min_change

BaseFloat min_change

Definition at line 47 of file rescale-nnet.h.

Referenced by NnetRescaler::RescaleComponent().

◆ num_iters

BaseFloat num_iters

Definition at line 43 of file rescale-nnet.h.

◆ target_avg_deriv

BaseFloat target_avg_deriv

Definition at line 37 of file rescale-nnet.h.

Referenced by NnetRescaler::GetTargetAvgDeriv().

◆ target_first_layer_avg_deriv

BaseFloat target_first_layer_avg_deriv

Definition at line 38 of file rescale-nnet.h.

Referenced by NnetRescaler::GetTargetAvgDeriv().

◆ target_last_layer_avg_deriv

BaseFloat target_last_layer_avg_deriv

Definition at line 39 of file rescale-nnet.h.

Referenced by NnetRescaler::GetTargetAvgDeriv().


The documentation for this struct was generated from the following file: