These are the stats for a particular utterance, i.e. More...
#include <ivector-extractor.h>

Public Member Functions | |
| IvectorExtractorUtteranceStats (int32 num_gauss, int32 feat_dim, bool need_2nd_order_stats) | |
| void | AccStats (const MatrixBase< BaseFloat > &feats, const Posterior &post) |
| void | Scale (double scale) |
| double | NumFrames () |
Protected Attributes | |
| Vector< double > | gamma_ |
| Matrix< double > | X_ |
| std::vector< SpMatrix< double > > | S_ |
Friends | |
| class | IvectorExtractor |
| class | IvectorExtractorStats |
These are the stats for a particular utterance, i.e.
the sufficient stats for estimating an iVector (if need_2nd_order_stats == true, we can also estimate the variance of the model; these 2nd order stats are not needed if we just need the iVector.
Definition at line 79 of file ivector-extractor.h.
|
inline |
Definition at line 81 of file ivector-extractor.h.
References rnnlm::i.
| void AccStats | ( | const MatrixBase< BaseFloat > & | feats, |
| const Posterior & | post | ||
| ) |
Definition at line 852 of file ivector-extractor.cc.
References SpMatrix< Real >::AddVec2(), rnnlm::i, KALDI_ASSERT, MatrixBase< Real >::NumCols(), MatrixBase< Real >::NumRows(), and PackedMatrix< Real >::SetZero().
Referenced by IvectorExtractorStats::AccStatsForUtterance(), IvectorExtractTask::operator()(), and kaldi::TestIvectorExtraction().
|
inline |
Definition at line 96 of file ivector-extractor.h.
Referenced by kaldi::TestIvectorExtraction().
| void Scale | ( | double | scale | ) |
Definition at line 884 of file ivector-extractor.cc.
References rnnlm::i, and OnlineIvectorEstimationStats::Scale().
|
friend |
Definition at line 99 of file ivector-extractor.h.
|
friend |
Definition at line 100 of file ivector-extractor.h.
|
protected |
Definition at line 101 of file ivector-extractor.h.
Referenced by IvectorExtractorStats::CommitStatsForM(), IvectorExtractorStats::CommitStatsForWPoint(), IvectorExtractor::GetAcousticAuxf(), IvectorExtractor::GetAcousticAuxfGconst(), IvectorExtractor::GetAcousticAuxfMean(), IvectorExtractor::GetAcousticAuxfVariance(), IvectorExtractor::GetAcousticAuxfWeight(), IvectorExtractor::GetAuxf(), IvectorExtractor::GetIvectorDistMean(), and IvectorExtractor::GetIvectorDistWeight().
|
protected |
Definition at line 103 of file ivector-extractor.h.
Referenced by IvectorExtractorStats::CommitStatsForSigma(), and IvectorExtractor::GetAcousticAuxfVariance().
|
protected |
Definition at line 102 of file ivector-extractor.h.
Referenced by IvectorExtractorStats::CommitStatsForM(), IvectorExtractor::GetAcousticAuxfMean(), IvectorExtractor::GetAcousticAuxfVariance(), and IvectorExtractor::GetIvectorDistMean().