22 #ifndef KALDI_GMM_MODEL_TEST_COMMON_H_ 23 #define KALDI_GMM_MODEL_TEST_COMMON_H_ 32 TpMatrix<BaseFloat> *matrix_sqrt = NULL,
35 const VectorBase<BaseFloat> &mean,
36 const VectorBase<BaseFloat> &sqrt_var,
37 MatrixBase<BaseFloat> *feats);
39 const VectorBase<BaseFloat> &mean,
40 const TpMatrix<BaseFloat> &sqrt_var,
41 MatrixBase<BaseFloat> *feats);
49 #endif // KALDI_GMM_MODEL_TEST_COMMON_H_ This code computes Goodness of Pronunciation (GOP) and extracts phone-level pronunciation feature for...
void RandPosdefSpMatrix(int32 dim, SpMatrix< BaseFloat > *matrix, TpMatrix< BaseFloat > *matrix_sqrt, BaseFloat *logdet)
void RandFullGaussFeatures(int32 num_samples, const VectorBase< BaseFloat > &mean, const TpMatrix< BaseFloat > &sqrt_var, MatrixBase< BaseFloat > *feats)
void InitRandDiagGmm(int32 dim, int32 num_comp, DiagGmm *gmm)
void InitRandFullGmm(int32 dim, int32 num_comp, FullGmm *gmm)
void RandDiagGaussFeatures(int32 num_samples, const VectorBase< BaseFloat > &mean, const VectorBase< BaseFloat > &sqrt_var, MatrixBase< BaseFloat > *feats)