All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
NnetLimitRankOpts Struct Reference

#include <nnet-limit-rank.h>

Collaboration diagram for NnetLimitRankOpts:

Public Member Functions

 NnetLimitRankOpts ()
 
void Register (OptionsItf *opts)
 

Public Attributes

int32 num_threads
 
BaseFloat parameter_proportion
 

Detailed Description

Definition at line 32 of file nnet-limit-rank.h.

Constructor & Destructor Documentation

NnetLimitRankOpts ( )
inline

Definition at line 36 of file nnet-limit-rank.h.

Member Function Documentation

void Register ( OptionsItf opts)
inline

Definition at line 38 of file nnet-limit-rank.h.

References OptionsItf::Register().

38  {
39  opts->Register("num-threads", &num_threads, "Number of threads used for "
40  "rank-limiting operation; note, will never use more than "
41  "#layers.");
42  opts->Register("parameter-proportion", &parameter_proportion, "Proportion of "
43  "dimension of each transform to limit the rank to.");
44  }

Member Data Documentation

int32 num_threads

Definition at line 33 of file nnet-limit-rank.h.

Referenced by kaldi::nnet2::LimitRankParallel().

BaseFloat parameter_proportion

Definition at line 34 of file nnet-limit-rank.h.

Referenced by LimitRankClass::GetRetainedDim().


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