Class for the accumulators associated with the phonetic-subspace model parameters. More...
#include <estimate-am-sgmm2.h>
Public Member Functions | |
MleAmSgmm2Accs (BaseFloat rand_prune=1.0e-05) | |
MleAmSgmm2Accs (const AmSgmm2 &model, SgmmUpdateFlagsType flags, bool have_spk_vecs, BaseFloat rand_prune=1.0e-05) | |
~MleAmSgmm2Accs () | |
void | Read (std::istream &in_stream, bool binary, bool add) |
void | Write (std::ostream &out_stream, bool binary) const |
void | Check (const AmSgmm2 &model, bool show_properties=true) const |
Checks the various accumulators for correct sizes given a model. More... | |
void | ResizeAccumulators (const AmSgmm2 &model, SgmmUpdateFlagsType flags, bool have_spk_vecs) |
Resizes the accumulators to the correct sizes given the model. More... | |
BaseFloat | Accumulate (const AmSgmm2 &model, const Sgmm2PerFrameDerivedVars &frame_vars, int32 pdf_index, BaseFloat weight, Sgmm2PerSpkDerivedVars *spk_vars) |
Returns likelihood. More... | |
BaseFloat | AccumulateFromPosteriors (const AmSgmm2 &model, const Sgmm2PerFrameDerivedVars &frame_vars, const Matrix< BaseFloat > &posteriors, int32 pdf_index, Sgmm2PerSpkDerivedVars *spk_vars) |
Returns count accumulated (may differ from posteriors.Sum() due to weight pruning). More... | |
void | CommitStatsForSpk (const AmSgmm2 &model, const Sgmm2PerSpkDerivedVars &spk_vars) |
Accumulates global stats for the current speaker (if applicable). More... | |
void | GetStateOccupancies (Vector< BaseFloat > *occs) const |
Accessors. More... | |
int32 | FeatureDim () const |
int32 | PhoneSpaceDim () const |
int32 | NumPdfs () const |
int32 | NumGroups () const |
int32 | NumGauss () const |
Private Member Functions | |
KALDI_DISALLOW_COPY_AND_ASSIGN (MleAmSgmm2Accs) | |
Private Attributes | |
std::vector< Matrix< double > > | Y_ |
The stats which are not tied to any state. More... | |
std::vector< Matrix< double > > | Z_ |
Stats Z_{i} for speaker-subspace projections N. Dim is [I][D][T]. More... | |
std::vector< SpMatrix< double > > | R_ |
R_{i}, quadratic term for speaker subspace estimation. Dim is [I][T][T]. More... | |
std::vector< SpMatrix< double > > | S_ |
S_{i}^{-}, scatter of adapted feature vectors x_{i}(t). Dim is [I][D][D]. More... | |
std::vector< Matrix< double > > | y_ |
The SGMM state specific stats. More... | |
std::vector< Matrix< double > > | gamma_ |
Gaussian occupancies gamma_{jmi} for each substate and Gaussian index, pooled over groups. More... | |
std::vector< Matrix< double > > | a_ |
[SSGMM] These a_{jmi} quantities are dimensionally the same as the gamma quantities. More... | |
Matrix< double > | t_ |
[SSGMM] each row is one of the t_i quantities in the less-exact version of the SSGMM update for the speaker weight projections. More... | |
Vector< double > | a_s_ |
[SSGMM], this is a per-speaker variable storing the a_i^{(s)} quantities that we will use in order to compute the non-speaker- specific quantities [see eqs. More... | |
std::vector< SpMatrix< double > > | U_ |
the U_i quantities from the less-exact version of the SSGMM update for the speaker weight projections. More... | |
std::vector< Vector< double > > | gamma_c_ |
Sub-state occupancies gamma_{jm}^{(c)} for each sub-state. More... | |
Vector< double > | gamma_s_ |
gamma_{i}^{(s)}. More... | |
double | total_frames_ |
double | total_like_ |
int32 | feature_dim_ |
Dimensionality of various subspaces. More... | |
int32 | phn_space_dim_ |
int32 | spk_space_dim_ |
int32 | num_gaussians_ |
int32 | num_pdfs_ |
int32 | num_groups_ |
Other model specifications. More... | |
BaseFloat | rand_prune_ |
Friends | |
class | MleAmSgmm2Updater |
class | EbwAmSgmm2Updater |
Class for the accumulators associated with the phonetic-subspace model parameters.
Definition at line 119 of file estimate-am-sgmm2.h.
|
inlineexplicit |
Definition at line 121 of file estimate-am-sgmm2.h.
|
inline |
Definition at line 126 of file estimate-am-sgmm2.h.
~MleAmSgmm2Accs | ( | ) |
Definition at line 1945 of file estimate-am-sgmm2.cc.
References MleSgmm2SpeakerAccs::gamma_s_, KALDI_ERR, and VectorBase< Real >::Sum().
BaseFloat Accumulate | ( | const AmSgmm2 & | model, |
const Sgmm2PerFrameDerivedVars & | frame_vars, | ||
int32 | pdf_index, | ||
BaseFloat | weight, | ||
Sgmm2PerSpkDerivedVars * | spk_vars | ||
) |
Returns likelihood.
Definition at line 471 of file estimate-am-sgmm2.cc.
References MleAmSgmm2Accs::AccumulateFromPosteriors(), AmSgmm2::ComponentPosteriors(), count, MatrixBase< Real >::Scale(), and MleAmSgmm2Accs::total_like_.
Referenced by main().
BaseFloat AccumulateFromPosteriors | ( | const AmSgmm2 & | model, |
const Sgmm2PerFrameDerivedVars & | frame_vars, | ||
const Matrix< BaseFloat > & | posteriors, | ||
int32 | pdf_index, | ||
Sgmm2PerSpkDerivedVars * | spk_vars | ||
) |
Returns count accumulated (may differ from posteriors.Sum() due to weight pruning).
Definition at line 487 of file estimate-am-sgmm2.cc.
References MleAmSgmm2Accs::a_, MleAmSgmm2Accs::a_s_, VectorBase< Real >::AddVec(), Sgmm2PerSpkDerivedVars::b_is, VectorBase< Real >::Dim(), MleAmSgmm2Accs::feature_dim_, MleAmSgmm2Accs::gamma_, MleAmSgmm2Accs::gamma_c_, MleAmSgmm2Accs::gamma_s_, AmSgmm2::GetDjms(), AmSgmm2::GetSubstateMean(), Sgmm2PerFrameDerivedVars::gselect, rnnlm::i, KALDI_ASSERT, AmSgmm2::NumSubstatesForGroup(), AmSgmm2::Pdf2Group(), MleAmSgmm2Accs::rand_prune_, kaldi::RandPrune(), MatrixBase< Real >::Row(), MleAmSgmm2Accs::S_, MleAmSgmm2Accs::spk_space_dim_, MleAmSgmm2Accs::total_frames_, AmSgmm2::v_, Sgmm2PerSpkDerivedVars::v_s, AmSgmm2::w_jmi_, Sgmm2PerFrameDerivedVars::xt, Sgmm2PerFrameDerivedVars::xti, MleAmSgmm2Accs::Y_, MleAmSgmm2Accs::y_, MleAmSgmm2Accs::Z_, and Sgmm2PerFrameDerivedVars::zti.
Referenced by MleAmSgmm2Accs::Accumulate(), and main().
Checks the various accumulators for correct sizes given a model.
With wrong sizes, assertion failure occurs. When the show_properties argument is set to true, dimensions and presence/absence of the various accumulators are printed. For use when accumulators are read from file.
Definition at line 213 of file estimate-am-sgmm2.cc.
References MleAmSgmm2Accs::a_, kaldi::ApproxEqual(), VectorBase< Real >::Dim(), MleAmSgmm2Accs::feature_dim_, AmSgmm2::FeatureDim(), MatrixBase< Real >::FrobeniusNorm(), MleAmSgmm2Accs::gamma_, MleAmSgmm2Accs::gamma_c_, MleAmSgmm2Accs::gamma_s_, rnnlm::i, VectorBase< Real >::IsZero(), KALDI_ASSERT, KALDI_ERR, KALDI_LOG, KALDI_WARN, MleAmSgmm2Accs::num_gaussians_, MleAmSgmm2Accs::num_groups_, MleAmSgmm2Accs::num_pdfs_, MatrixBase< Real >::NumCols(), AmSgmm2::NumGauss(), AmSgmm2::NumGroups(), AmSgmm2::NumPdfs(), MatrixBase< Real >::NumRows(), AmSgmm2::NumSubstatesForGroup(), AmSgmm2::NumSubstatesForPdf(), MleAmSgmm2Accs::phn_space_dim_, AmSgmm2::PhoneSpaceDim(), MleAmSgmm2Accs::R_, MleAmSgmm2Accs::S_, MleAmSgmm2Accs::spk_space_dim_, AmSgmm2::SpkSpaceDim(), MleAmSgmm2Accs::t_, MleAmSgmm2Accs::U_, MleAmSgmm2Accs::Y_, MleAmSgmm2Accs::y_, and MleAmSgmm2Accs::Z_.
Referenced by main(), and TestSgmm2AccsIO().
void CommitStatsForSpk | ( | const AmSgmm2 & | model, |
const Sgmm2PerSpkDerivedVars & | spk_vars | ||
) |
Accumulates global stats for the current speaker (if applicable).
If flags contains kSgmmSpeakerProjections (N), or kSgmmSpeakerWeightProjections (u), must call this after finishing the speaker's data.
Definition at line 580 of file estimate-am-sgmm2.cc.
References MleAmSgmm2Accs::a_s_, VectorBase< Real >::AddVecVec(), MatrixBase< Real >::AddVecVec(), Sgmm2PerSpkDerivedVars::b_is, VectorBase< Real >::Dim(), MleAmSgmm2Accs::gamma_s_, rnnlm::i, VectorBase< Real >::IsZero(), MleAmSgmm2Accs::num_gaussians_, MleAmSgmm2Accs::R_, VectorBase< Real >::SetZero(), MleAmSgmm2Accs::t_, MleAmSgmm2Accs::U_, and Sgmm2PerSpkDerivedVars::v_s.
Referenced by main().
|
inline |
Definition at line 173 of file estimate-am-sgmm2.h.
Accessors.
Definition at line 604 of file estimate-am-sgmm2.cc.
References MleAmSgmm2Accs::gamma_c_, and Vector< Real >::Resize().
Referenced by main().
|
private |
|
inline |
Definition at line 177 of file estimate-am-sgmm2.h.
|
inline |
Definition at line 176 of file estimate-am-sgmm2.h.
|
inline |
Definition at line 175 of file estimate-am-sgmm2.h.
|
inline |
Definition at line 174 of file estimate-am-sgmm2.h.
Definition at line 122 of file estimate-am-sgmm2.cc.
References MleAmSgmm2Accs::a_, VectorBase< Real >::Dim(), kaldi::ExpectToken(), MleAmSgmm2Accs::feature_dim_, MleAmSgmm2Accs::gamma_, MleAmSgmm2Accs::gamma_c_, MleAmSgmm2Accs::gamma_s_, rnnlm::i, KALDI_ERR, MleAmSgmm2Accs::num_gaussians_, MleAmSgmm2Accs::num_groups_, MleAmSgmm2Accs::num_pdfs_, MleAmSgmm2Accs::phn_space_dim_, MleAmSgmm2Accs::R_, Matrix< Real >::Read(), kaldi::ReadBasicType(), kaldi::ReadToken(), Vector< Real >::Resize(), MleAmSgmm2Accs::S_, MleAmSgmm2Accs::spk_space_dim_, MleAmSgmm2Accs::t_, MleAmSgmm2Accs::total_frames_, MleAmSgmm2Accs::total_like_, MleAmSgmm2Accs::U_, MleAmSgmm2Accs::Y_, MleAmSgmm2Accs::y_, and MleAmSgmm2Accs::Z_.
Referenced by main(), and TestSgmm2AccsIO().
void ResizeAccumulators | ( | const AmSgmm2 & | model, |
SgmmUpdateFlagsType | flags, | ||
bool | have_spk_vecs | ||
) |
Resizes the accumulators to the correct sizes given the model.
The flags argument controls which accumulators to resize.
Definition at line 365 of file estimate-am-sgmm2.cc.
References MleAmSgmm2Accs::a_, MleAmSgmm2Accs::a_s_, MleAmSgmm2Accs::feature_dim_, AmSgmm2::FeatureDim(), MleAmSgmm2Accs::gamma_, MleAmSgmm2Accs::gamma_c_, MleAmSgmm2Accs::gamma_s_, AmSgmm2::HasSpeakerDependentWeights(), rnnlm::i, KALDI_ASSERT, KALDI_ERR, kaldi::kSgmmCovarianceMatrix, kaldi::kSgmmPhoneProjections, kaldi::kSgmmPhoneVectors, kaldi::kSgmmPhoneWeightProjections, kaldi::kSgmmSpeakerProjections, kaldi::kSgmmSpeakerWeightProjections, MleAmSgmm2Accs::num_gaussians_, MleAmSgmm2Accs::num_groups_, MleAmSgmm2Accs::num_pdfs_, AmSgmm2::NumGauss(), AmSgmm2::NumGroups(), AmSgmm2::NumPdfs(), AmSgmm2::NumSubstatesForGroup(), AmSgmm2::NumSubstatesForPdf(), MleAmSgmm2Accs::phn_space_dim_, AmSgmm2::PhoneSpaceDim(), MleAmSgmm2Accs::R_, Vector< Real >::Resize(), Matrix< Real >::Resize(), MleAmSgmm2Accs::S_, MleAmSgmm2Accs::spk_space_dim_, AmSgmm2::SpkSpaceDim(), MleAmSgmm2Accs::t_, MleAmSgmm2Accs::total_frames_, MleAmSgmm2Accs::total_like_, MleAmSgmm2Accs::U_, MleAmSgmm2Accs::Y_, MleAmSgmm2Accs::y_, and MleAmSgmm2Accs::Z_.
Referenced by main().
void Write | ( | std::ostream & | out_stream, |
bool | binary | ||
) | const |
Definition at line 34 of file estimate-am-sgmm2.cc.
References MleAmSgmm2Accs::a_, MleAmSgmm2Accs::feature_dim_, MleAmSgmm2Accs::gamma_, MleAmSgmm2Accs::gamma_c_, rnnlm::i, KALDI_ASSERT, MleAmSgmm2Accs::num_gaussians_, MleAmSgmm2Accs::num_groups_, MleAmSgmm2Accs::num_pdfs_, MatrixBase< Real >::NumRows(), MleAmSgmm2Accs::phn_space_dim_, MleAmSgmm2Accs::R_, MleAmSgmm2Accs::S_, MleAmSgmm2Accs::spk_space_dim_, MleAmSgmm2Accs::t_, MleAmSgmm2Accs::total_frames_, MleAmSgmm2Accs::total_like_, MleAmSgmm2Accs::U_, MatrixBase< Real >::Write(), kaldi::WriteBasicType(), kaldi::WriteToken(), MleAmSgmm2Accs::Y_, MleAmSgmm2Accs::y_, and MleAmSgmm2Accs::Z_.
Referenced by main(), and TestSgmm2AccsIO().
|
friend |
Definition at line 240 of file estimate-am-sgmm2.h.
|
friend |
Definition at line 239 of file estimate-am-sgmm2.h.
|
private |
[SSGMM] These a_{jmi} quantities are dimensionally the same as the gamma quantities.
They're needed to estimate the v_{jm} and w_i quantities in the symmetric SGMM. Dimension is [J1][#mix][S]
Definition at line 200 of file estimate-am-sgmm2.h.
Referenced by MleAmSgmm2Accs::AccumulateFromPosteriors(), MleAmSgmm2Accs::Check(), MleAmSgmm2Updater::ComputeLogA(), EbwAmSgmm2Updater::ComputePhoneVecStats(), MleAmSgmm2Accs::Read(), MleAmSgmm2Accs::ResizeAccumulators(), MleAmSgmm2Updater::Update(), and MleAmSgmm2Accs::Write().
|
private |
[SSGMM], this is a per-speaker variable storing the a_i^{(s)} quantities that we will use in order to compute the non-speaker- specific quantities [see eqs.
53 and 54 in techreport]. Note: there is a separate variable a_s_ in class MleSgmm2SpeakerAccs, which is the same thing but for purposes of computing the speaker-vector v^{(s)}.
Definition at line 213 of file estimate-am-sgmm2.h.
Referenced by MleAmSgmm2Accs::AccumulateFromPosteriors(), MleAmSgmm2Accs::CommitStatsForSpk(), and MleAmSgmm2Accs::ResizeAccumulators().
|
private |
Dimensionality of various subspaces.
Definition at line 233 of file estimate-am-sgmm2.h.
Referenced by MleAmSgmm2Accs::AccumulateFromPosteriors(), MleAmSgmm2Accs::Check(), MleAmSgmm2Updater::ComputeSMeans(), MleAmSgmm2Updater::MapUpdateM(), MleAmSgmm2Accs::Read(), MleAmSgmm2Updater::RenormalizeN(), MleAmSgmm2Updater::RenormalizeV(), MleAmSgmm2Accs::ResizeAccumulators(), MleAmSgmm2Updater::UpdateM(), EbwAmSgmm2Updater::UpdateN(), MleAmSgmm2Updater::UpdateVars(), and MleAmSgmm2Accs::Write().
|
private |
Gaussian occupancies gamma_{jmi} for each substate and Gaussian index, pooled over groups.
Dim is [J1][#mix][I].
Definition at line 195 of file estimate-am-sgmm2.h.
Referenced by MleAmSgmm2Accs::AccumulateFromPosteriors(), MleAmSgmm2Accs::Check(), MleAmSgmm2Updater::ComputeLogA(), EbwAmSgmm2Updater::ComputePhoneVecStats(), MleAmSgmm2Updater::ComputeQ(), MleAmSgmm2Updater::ComputeSMeans(), MleAmSgmm2Accs::Read(), MleAmSgmm2Accs::ResizeAccumulators(), EbwAmSgmm2Updater::Update(), MleAmSgmm2Updater::Update(), EbwAmSgmm2Updater::UpdatePhoneVectors(), MleAmSgmm2Updater::UpdatePhoneVectors(), EbwAmSgmm2Updater::UpdatePhoneVectorsInternal(), MleAmSgmm2Updater::UpdatePhoneVectorsInternal(), MleAmSgmm2Updater::UpdateW(), MleAmSgmm2Updater::UpdateWGetStats(), and MleAmSgmm2Accs::Write().
|
private |
Sub-state occupancies gamma_{jm}^{(c)} for each sub-state.
In the SCTM version of the SGMM, for compactness we store two separate sets of gamma statistics, one to estimate the v_{jm} quantities and one to estimate the sub-state weights c_{jm}.
Definition at line 223 of file estimate-am-sgmm2.h.
Referenced by MleAmSgmm2Accs::AccumulateFromPosteriors(), MleAmSgmm2Accs::Check(), MleAmSgmm2Accs::GetStateOccupancies(), MleAmSgmm2Accs::Read(), MleAmSgmm2Accs::ResizeAccumulators(), EbwAmSgmm2Updater::UpdateSubstateWeights(), MleAmSgmm2Updater::UpdateSubstateWeights(), and MleAmSgmm2Accs::Write().
|
private |
gamma_{i}^{(s)}.
Per-speaker counts for each Gaussian. Dimension is [I] Needed for stats R_. This can be viewed as a temporary variable; it does not form part of the stats that we eventually dump to disk.
Definition at line 228 of file estimate-am-sgmm2.h.
Referenced by MleAmSgmm2Accs::AccumulateFromPosteriors(), MleAmSgmm2Accs::Check(), MleAmSgmm2Accs::CommitStatsForSpk(), MleAmSgmm2Accs::Read(), and MleAmSgmm2Accs::ResizeAccumulators().
|
private |
Definition at line 234 of file estimate-am-sgmm2.h.
Referenced by MleAmSgmm2Accs::Check(), MleAmSgmm2Accs::CommitStatsForSpk(), MleAmSgmm2Updater::ComputeLogA(), EbwAmSgmm2Updater::ComputePhoneVecStats(), MleAmSgmm2Updater::ComputeQ(), MleAmSgmm2Updater::ComputeSMeans(), MleAmSgmm2Accs::Read(), MleAmSgmm2Updater::RenormalizeN(), MleAmSgmm2Updater::RenormalizeV(), MleAmSgmm2Accs::ResizeAccumulators(), EbwAmSgmm2Updater::Update(), MleAmSgmm2Updater::Update(), MleAmSgmm2Updater::UpdateM(), EbwAmSgmm2Updater::UpdateN(), MleAmSgmm2Updater::UpdateN(), EbwAmSgmm2Updater::UpdatePhoneVectorsInternal(), MleAmSgmm2Updater::UpdatePhoneVectorsInternal(), EbwAmSgmm2Updater::UpdateU(), MleAmSgmm2Updater::UpdateU(), EbwAmSgmm2Updater::UpdateVars(), MleAmSgmm2Updater::UpdateVars(), EbwAmSgmm2Updater::UpdateW(), MleAmSgmm2Updater::UpdateW(), MleAmSgmm2Updater::UpdateWGetStats(), and MleAmSgmm2Accs::Write().
|
private |
Other model specifications.
Definition at line 234 of file estimate-am-sgmm2.h.
Referenced by MleAmSgmm2Accs::Check(), MleAmSgmm2Updater::ComputeLogA(), MleAmSgmm2Updater::ComputeQ(), MleAmSgmm2Updater::ComputeSMeans(), MleAmSgmm2Accs::Read(), MleAmSgmm2Updater::RenormalizeV(), MleAmSgmm2Accs::ResizeAccumulators(), EbwAmSgmm2Updater::Update(), MleAmSgmm2Updater::Update(), EbwAmSgmm2Updater::UpdatePhoneVectors(), MleAmSgmm2Updater::UpdatePhoneVectors(), EbwAmSgmm2Updater::UpdatePhoneVectorsInternal(), MleAmSgmm2Updater::UpdatePhoneVectorsInternal(), MleAmSgmm2Updater::UpdateW(), MleAmSgmm2Updater::UpdateWGetStats(), and MleAmSgmm2Accs::Write().
|
private |
Definition at line 234 of file estimate-am-sgmm2.h.
Referenced by MleAmSgmm2Accs::Check(), MleAmSgmm2Accs::Read(), MleAmSgmm2Accs::ResizeAccumulators(), EbwAmSgmm2Updater::UpdateSubstateWeights(), MleAmSgmm2Updater::UpdateSubstateWeights(), and MleAmSgmm2Accs::Write().
|
private |
Definition at line 233 of file estimate-am-sgmm2.h.
Referenced by MleAmSgmm2Accs::Check(), MleAmSgmm2Updater::ComputeQ(), MleAmSgmm2Accs::Read(), MleAmSgmm2Updater::RenormalizeV(), MleAmSgmm2Accs::ResizeAccumulators(), EbwAmSgmm2Updater::UpdatePhoneVectorsInternal(), MleAmSgmm2Updater::UpdatePhoneVectorsInternal(), EbwAmSgmm2Updater::UpdateW(), MleAmSgmm2Updater::UpdateW(), MleAmSgmm2Updater::UpdateWGetStats(), and MleAmSgmm2Accs::Write().
|
private |
R_{i}, quadratic term for speaker subspace estimation. Dim is [I][T][T].
Definition at line 186 of file estimate-am-sgmm2.h.
Referenced by MleAmSgmm2Accs::Check(), MleAmSgmm2Accs::CommitStatsForSpk(), MleAmSgmm2Accs::Read(), MleAmSgmm2Updater::RenormalizeN(), MleAmSgmm2Accs::ResizeAccumulators(), EbwAmSgmm2Updater::UpdateN(), MleAmSgmm2Updater::UpdateN(), and MleAmSgmm2Accs::Write().
|
private |
Definition at line 236 of file estimate-am-sgmm2.h.
Referenced by MleAmSgmm2Accs::AccumulateFromPosteriors().
|
private |
S_{i}^{-}, scatter of adapted feature vectors x_{i}(t). Dim is [I][D][D].
Definition at line 188 of file estimate-am-sgmm2.h.
Referenced by MleAmSgmm2Accs::AccumulateFromPosteriors(), MleAmSgmm2Accs::Check(), MleAmSgmm2Accs::Read(), MleAmSgmm2Accs::ResizeAccumulators(), EbwAmSgmm2Updater::UpdateVars(), MleAmSgmm2Updater::UpdateVars(), and MleAmSgmm2Accs::Write().
|
private |
Definition at line 233 of file estimate-am-sgmm2.h.
Referenced by MleAmSgmm2Accs::AccumulateFromPosteriors(), MleAmSgmm2Accs::Check(), MleAmSgmm2Accs::Read(), MleAmSgmm2Updater::RenormalizeN(), MleAmSgmm2Accs::ResizeAccumulators(), EbwAmSgmm2Updater::UpdateN(), MleAmSgmm2Updater::UpdateN(), EbwAmSgmm2Updater::UpdateU(), MleAmSgmm2Updater::UpdateU(), and MleAmSgmm2Accs::Write().
|
private |
[SSGMM] each row is one of the t_i quantities in the less-exact version of the SSGMM update for the speaker weight projections.
Dimension is [I][T]
Definition at line 205 of file estimate-am-sgmm2.h.
Referenced by MleAmSgmm2Accs::Check(), MleAmSgmm2Accs::CommitStatsForSpk(), MleAmSgmm2Accs::Read(), MleAmSgmm2Accs::ResizeAccumulators(), EbwAmSgmm2Updater::UpdateU(), MleAmSgmm2Updater::UpdateU(), and MleAmSgmm2Accs::Write().
|
private |
Definition at line 230 of file estimate-am-sgmm2.h.
Referenced by MleAmSgmm2Accs::AccumulateFromPosteriors(), MleAmSgmm2Accs::Read(), MleAmSgmm2Accs::ResizeAccumulators(), EbwAmSgmm2Updater::Update(), MleAmSgmm2Updater::Update(), and MleAmSgmm2Accs::Write().
|
private |
Definition at line 230 of file estimate-am-sgmm2.h.
Referenced by MleAmSgmm2Accs::Accumulate(), MleAmSgmm2Accs::Read(), MleAmSgmm2Accs::ResizeAccumulators(), EbwAmSgmm2Updater::Update(), MleAmSgmm2Updater::Update(), and MleAmSgmm2Accs::Write().
|
private |
the U_i quantities from the less-exact version of the SSGMM update for the speaker weight projections.
Dimension is [I][T][T]
Definition at line 217 of file estimate-am-sgmm2.h.
Referenced by MleAmSgmm2Accs::Check(), MleAmSgmm2Accs::CommitStatsForSpk(), MleAmSgmm2Accs::Read(), MleAmSgmm2Accs::ResizeAccumulators(), EbwAmSgmm2Updater::UpdateU(), MleAmSgmm2Updater::UpdateU(), and MleAmSgmm2Accs::Write().
|
private |
The stats which are not tied to any state.
Stats Y_{i} for phonetic-subspace projections M; Dim is [I][D][S].
Definition at line 182 of file estimate-am-sgmm2.h.
Referenced by MleAmSgmm2Accs::AccumulateFromPosteriors(), MleAmSgmm2Accs::Check(), MleAmSgmm2Updater::ComputeSMeans(), MleAmSgmm2Updater::MapUpdateM(), MleAmSgmm2Accs::Read(), MleAmSgmm2Accs::ResizeAccumulators(), EbwAmSgmm2Updater::UpdateM(), MleAmSgmm2Updater::UpdateM(), and MleAmSgmm2Accs::Write().
|
private |
The SGMM state specific stats.
Statistics y_{jm} for state vectors v_{jm}. dimension is [J1][#mix][S].
Definition at line 192 of file estimate-am-sgmm2.h.
Referenced by MleAmSgmm2Accs::AccumulateFromPosteriors(), MleAmSgmm2Accs::Check(), EbwAmSgmm2Updater::ComputePhoneVecStats(), MleAmSgmm2Accs::Read(), MleAmSgmm2Accs::ResizeAccumulators(), MleAmSgmm2Updater::UpdatePhoneVectorsInternal(), and MleAmSgmm2Accs::Write().
|
private |
Stats Z_{i} for speaker-subspace projections N. Dim is [I][D][T].
Definition at line 184 of file estimate-am-sgmm2.h.
Referenced by MleAmSgmm2Accs::AccumulateFromPosteriors(), MleAmSgmm2Accs::Check(), MleAmSgmm2Accs::Read(), MleAmSgmm2Accs::ResizeAccumulators(), EbwAmSgmm2Updater::UpdateN(), MleAmSgmm2Updater::UpdateN(), and MleAmSgmm2Accs::Write().