IvectorExtractorStatsOptions Struct Reference

Options for IvectorExtractorStats, which is used to update the parameters of IvectorExtractor. More...

#include <ivector-extractor.h>

Collaboration diagram for IvectorExtractorStatsOptions:

Public Member Functions

 IvectorExtractorStatsOptions ()
 
void Register (OptionsItf *opts)
 

Public Attributes

bool update_variances
 
bool compute_auxf
 
int32 num_samples_for_weights
 
int cache_size
 

Detailed Description

Options for IvectorExtractorStats, which is used to update the parameters of IvectorExtractor.

Definition at line 428 of file ivector-extractor.h.

Constructor & Destructor Documentation

◆ IvectorExtractorStatsOptions()

Member Function Documentation

◆ Register()

void Register ( OptionsItf opts)
inline

Definition at line 438 of file ivector-extractor.h.

References OptionsItf::Register().

Referenced by main().

438  {
439  opts->Register("update-variances", &update_variances, "If true, update the "
440  "Gaussian variances");
441  opts->Register("compute-auxf", &compute_auxf, "If true, compute the "
442  "auxiliary functions on training data; can be used to "
443  "debug and check convergence.");
444  opts->Register("num-samples-for-weights", &num_samples_for_weights,
445  "Number of samples from iVector distribution to use "
446  "for accumulating stats for weight update. Must be >1");
447  opts->Register("cache-size", &cache_size, "Size of an internal "
448  "cache (not critical, only affects speed/memory)");
449  }

Member Data Documentation

◆ cache_size

int cache_size

Definition at line 432 of file ivector-extractor.h.

Referenced by IvectorExtractorStats::IvectorExtractorStats().

◆ compute_auxf

bool compute_auxf

Definition at line 430 of file ivector-extractor.h.

Referenced by IvectorExtractorStats::CommitStatsForUtterance().

◆ num_samples_for_weights

◆ update_variances

bool update_variances

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