This struct contains various things that are needed (as const references) by class OnlineIvectorExtractor. More...
#include <online-ivector-feature.h>
Public Member Functions | |
OnlineIvectorExtractionInfo (const OnlineIvectorExtractionConfig &config) | |
void | Init (const OnlineIvectorExtractionConfig &config) |
int32 | ExpectedFeatureDim () const |
OnlineIvectorExtractionInfo () | |
void | Check () const |
Private Member Functions | |
KALDI_DISALLOW_COPY_AND_ASSIGN (OnlineIvectorExtractionInfo) | |
This struct contains various things that are needed (as const references) by class OnlineIvectorExtractor.
Definition at line 168 of file online-ivector-feature.h.
OnlineIvectorExtractionInfo | ( | const OnlineIvectorExtractionConfig & | config | ) |
Definition at line 24 of file online-ivector-feature.cc.
References OnlineIvectorExtractionInfo::Init().
Definition at line 99 of file online-ivector-feature.cc.
void Check | ( | ) | const |
Definition at line 80 of file online-ivector-feature.cc.
References OnlineIvectorExtractionInfo::diag_ubm, DiagGmm::Dim(), OnlineIvectorExtractionInfo::extractor, IvectorExtractor::FeatDim(), OnlineIvectorExtractionInfo::global_cmvn_stats, OnlineIvectorExtractionInfo::ivector_period, KALDI_ASSERT, OnlineIvectorExtractionInfo::lda_mat, OnlineSpliceOptions::left_context, OnlineIvectorExtractionInfo::max_remembered_frames, OnlineIvectorExtractionInfo::min_post, OnlineIvectorExtractionInfo::num_gselect, MatrixBase< Real >::NumCols(), MatrixBase< Real >::NumRows(), OnlineIvectorExtractionInfo::posterior_scale, OnlineSpliceOptions::right_context, and OnlineIvectorExtractionInfo::splice_opts.
Referenced by OnlineIvectorExtractionInfo::Init(), and OnlineIvectorFeature::OnlineIvectorFeature().
int32 ExpectedFeatureDim | ( | ) | const |
Definition at line 70 of file online-ivector-feature.cc.
References KALDI_WARN, OnlineIvectorExtractionInfo::lda_mat, OnlineSpliceOptions::left_context, MatrixBase< Real >::NumCols(), OnlineSpliceOptions::right_context, and OnlineIvectorExtractionInfo::splice_opts.
Referenced by main().
void Init | ( | const OnlineIvectorExtractionConfig & | config | ) |
Definition at line 29 of file online-ivector-feature.cc.
References OnlineIvectorExtractionInfo::Check(), OnlineIvectorExtractionConfig::cmvn_config_rxfilename, OnlineIvectorExtractionInfo::cmvn_opts, OnlineIvectorExtractionInfo::diag_ubm, OnlineIvectorExtractionConfig::diag_ubm_rxfilename, OnlineIvectorExtractionInfo::extractor, OnlineIvectorExtractionInfo::global_cmvn_stats, OnlineIvectorExtractionConfig::global_cmvn_stats_rxfilename, OnlineIvectorExtractionConfig::greedy_ivector_extractor, OnlineIvectorExtractionInfo::greedy_ivector_extractor, OnlineIvectorExtractionConfig::ivector_extractor_rxfilename, OnlineIvectorExtractionConfig::ivector_period, OnlineIvectorExtractionInfo::ivector_period, KALDI_ERR, KALDI_WARN, OnlineIvectorExtractionInfo::lda_mat, OnlineIvectorExtractionConfig::lda_mat_rxfilename, OnlineIvectorExtractionConfig::max_count, OnlineIvectorExtractionInfo::max_count, OnlineIvectorExtractionConfig::max_remembered_frames, OnlineIvectorExtractionInfo::max_remembered_frames, OnlineIvectorExtractionConfig::min_post, OnlineIvectorExtractionInfo::min_post, OnlineIvectorExtractionConfig::num_cg_iters, OnlineIvectorExtractionInfo::num_cg_iters, OnlineIvectorExtractionConfig::num_gselect, OnlineIvectorExtractionInfo::num_gselect, OnlineIvectorExtractionConfig::online_cmvn_iextractor, OnlineIvectorExtractionInfo::online_cmvn_iextractor, OnlineIvectorExtractionConfig::posterior_scale, OnlineIvectorExtractionInfo::posterior_scale, kaldi::ReadConfigFromFile(), kaldi::ReadKaldiObject(), OnlineIvectorExtractionConfig::splice_config_rxfilename, OnlineIvectorExtractionInfo::splice_opts, OnlineIvectorExtractionConfig::use_most_recent_ivector, and OnlineIvectorExtractionInfo::use_most_recent_ivector.
Referenced by OnlineIvectorExtractionInfo::OnlineIvectorExtractionInfo(), and OnlineNnet2FeaturePipelineInfo::OnlineNnet2FeaturePipelineInfo().
|
private |
OnlineCmvnOptions cmvn_opts |
Definition at line 173 of file online-ivector-feature.h.
Referenced by OnlineIvectorExtractionInfo::Init(), and OnlineIvectorFeature::OnlineIvectorFeature().
DiagGmm diag_ubm |
Definition at line 178 of file online-ivector-feature.h.
Referenced by OnlineIvectorExtractionInfo::Check(), and OnlineIvectorExtractionInfo::Init().
IvectorExtractor extractor |
Definition at line 179 of file online-ivector-feature.h.
Referenced by OnlineIvectorExtractionInfo::Check(), OnlineIvectorExtractionInfo::Init(), OnlineNnet2FeaturePipelineInfo::IvectorDim(), main(), and OnlineIvectorFeature::OnlineIvectorFeature().
Matrix<double> global_cmvn_stats |
Definition at line 171 of file online-ivector-feature.h.
Referenced by OnlineIvectorExtractionInfo::Check(), OnlineIvectorExtractionInfo::Init(), and OnlineIvectorFeature::OnlineIvectorFeature().
bool greedy_ivector_extractor |
Definition at line 190 of file online-ivector-feature.h.
Referenced by OnlineIvectorExtractionInfo::Init(), and main().
int32 ivector_period |
Definition at line 183 of file online-ivector-feature.h.
Referenced by OnlineIvectorExtractionInfo::Check(), and OnlineIvectorExtractionInfo::Init().
Definition at line 170 of file online-ivector-feature.h.
Referenced by OnlineIvectorExtractionInfo::Check(), OnlineIvectorExtractionInfo::ExpectedFeatureDim(), OnlineIvectorExtractionInfo::Init(), and OnlineIvectorFeature::OnlineIvectorFeature().
BaseFloat max_count |
Definition at line 187 of file online-ivector-feature.h.
Referenced by OnlineIvectorExtractionInfo::Init().
BaseFloat max_remembered_frames |
Definition at line 191 of file online-ivector-feature.h.
Referenced by OnlineIvectorExtractionInfo::Check(), and OnlineIvectorExtractionInfo::Init().
BaseFloat min_post |
Definition at line 185 of file online-ivector-feature.h.
Referenced by OnlineIvectorExtractionInfo::Check(), and OnlineIvectorExtractionInfo::Init().
int32 num_cg_iters |
Definition at line 188 of file online-ivector-feature.h.
Referenced by OnlineIvectorExtractionInfo::Init().
int32 num_gselect |
Definition at line 184 of file online-ivector-feature.h.
Referenced by OnlineIvectorExtractionInfo::Check(), and OnlineIvectorExtractionInfo::Init().
bool online_cmvn_iextractor |
Definition at line 174 of file online-ivector-feature.h.
Referenced by OnlineIvectorExtractionInfo::Init().
BaseFloat posterior_scale |
Definition at line 186 of file online-ivector-feature.h.
Referenced by OnlineIvectorExtractionInfo::Check(), and OnlineIvectorExtractionInfo::Init().
OnlineSpliceOptions splice_opts |
Definition at line 175 of file online-ivector-feature.h.
Referenced by OnlineIvectorExtractionInfo::Check(), OnlineIvectorExtractionInfo::ExpectedFeatureDim(), OnlineIvectorExtractionInfo::Init(), and OnlineIvectorFeature::OnlineIvectorFeature().
bool use_most_recent_ivector |
Definition at line 189 of file online-ivector-feature.h.
Referenced by OnlineIvectorExtractionInfo::Init(), and main().