22 #ifndef KALDI_TRANSFORM_CMVN_H_ 23 #define KALDI_TRANSFORM_CMVN_H_ 39 MatrixBase<double> *stats);
43 const VectorBase<BaseFloat> *weights,
44 MatrixBase<double> *stats);
51 void ApplyCmvn(
const MatrixBase<double> &stats,
53 MatrixBase<BaseFloat> *feats);
62 MatrixBase<BaseFloat> *feats);
69 MatrixBase<double> *stats);
75 #endif // KALDI_TRANSFORM_CMVN_H_ This code computes Goodness of Pronunciation (GOP) and extracts phone-level pronunciation feature for...
void ApplyCmvnReverse(const MatrixBase< double > &stats, bool var_norm, MatrixBase< BaseFloat > *feats)
This is as ApplyCmvn, but does so in the reverse sense, i.e.
void InitCmvnStats(int32 dim, Matrix< double > *stats)
This function initializes the matrix to dimension 2 by (dim+1); 1st "dim" elements of 1st row are mea...
void AccCmvnStats(const VectorBase< BaseFloat > &feats, BaseFloat weight, MatrixBase< double > *stats)
Accumulation from a single frame (weighted).
void ApplyCmvn(const MatrixBase< double > &stats, bool var_norm, MatrixBase< BaseFloat > *feats)
Apply cepstral mean and variance normalization to a matrix of features.
void FakeStatsForSomeDims(const std::vector< int32 > &dims, MatrixBase< double > *stats)
Modify the stats so that for some dimensions (specified in "dims"), we replace them with "fake" stats...