NnetDiscriminativeOptions Struct Reference

#include <nnet-discriminative-training.h>

Collaboration diagram for NnetDiscriminativeOptions:

Public Member Functions

 NnetDiscriminativeOptions ()
void Register (OptionsItf *opts)

Public Attributes

NnetTrainerOptions nnet_config
discriminative::DiscriminativeOptions discriminative_config
bool apply_deriv_weights

Detailed Description

Definition at line 35 of file nnet-discriminative-training.h.

Constructor & Destructor Documentation

◆ NnetDiscriminativeOptions()

Member Function Documentation

◆ Register()

void Register ( OptionsItf opts)

Definition at line 43 of file nnet-discriminative-training.h.

References OptionsItf::Register(), NnetTrainerOptions::Register(), and DiscriminativeOptions::Register().

Referenced by main().

43  {
44  nnet_config.Register(opts);
46  opts->Register("apply-deriv-weights", &apply_deriv_weights,
47  "If true, apply the per-frame derivative weights stored with "
48  "the example.");
49  }
void Register(OptionsItf *opts)
Definition: nnet-training.h:63
discriminative::DiscriminativeOptions discriminative_config

Member Data Documentation

◆ apply_deriv_weights

bool apply_deriv_weights

◆ discriminative_config

◆ nnet_config

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