|
kaldi-native-fbank C++ API
Kaldi-compatible feature extraction C++ API
|
State of CMVN adaptation between utterances (not the within-utterance computation state). More...
#include <online-cmvn.h>
Public Member Functions | |
| OnlineCmvnState ()=default | |
| OnlineCmvnState (const MatrixD &global_stats) | |
| Construct with global stats (the required part of the state). | |
Public Attributes | |
| MatrixD | speaker_cmvn_stats |
| Total CMVN stats for this speaker up till now, 2 x (dim+1); may be empty at the very first utterance. | |
| MatrixD | global_cmvn_stats |
| Global CMVN stats, 2 x (dim+1), e.g. | |
| MatrixD | frozen_state |
| If non-empty, 2 x (dim+1): the "frozen" normalization in use since OnlineCmvn::Freeze() was called (kaldi uses this to estimate fMLLR on top of a fixed CMVN). | |
State of CMVN adaptation between utterances (not the within-utterance computation state).
Stats matrices follow kaldi's layout: 2 x (dim+1) as [ sum-stats count ; sum-squared-stats 0 ]. Pass the state of one utterance to a new OnlineCmvn to continue with the next utterance of the same speaker; the speaker stats then back off the normalization at the start of that utterance (see OnlineCmvn for the smoothing rules).
|
default |
|
inlineexplicit |
Construct with global stats (the required part of the state).
| MatrixD knf::OnlineCmvnState::frozen_state |
If non-empty, 2 x (dim+1): the "frozen" normalization in use since OnlineCmvn::Freeze() was called (kaldi uses this to estimate fMLLR on top of a fixed CMVN).
Carries over to the next utterance.
| MatrixD knf::OnlineCmvnState::global_cmvn_stats |
Global CMVN stats, 2 x (dim+1), e.g.
loaded from kaldi's global_cmvn.stats. Required by OnlineCmvn.
| MatrixD knf::OnlineCmvnState::speaker_cmvn_stats |
Total CMVN stats for this speaker up till now, 2 x (dim+1); may be empty at the very first utterance.