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()

NnetLimitRankOpts ( )

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

Member Function Documentation

◆ Register()

void Register ( OptionsItf opts)

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

References kaldi::nnet2::LimitRankParallel(), and 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

◆ num_threads

int32 num_threads

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

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

◆ parameter_proportion

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: