model-test-common.h File Reference
#include "gmm/diag-gmm.h"
#include "gmm/full-gmm.h"
Include dependency graph for model-test-common.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 kaldi
 This code computes Goodness of Pronunciation (GOP) and extracts phone-level pronunciation feature for mispronunciations detection tasks, the reference:
 
 kaldi::unittest
 

Functions

void RandPosdefSpMatrix (int32 dim, SpMatrix< BaseFloat > *matrix, TpMatrix< BaseFloat > *matrix_sqrt, BaseFloat *logdet)
 
void RandDiagGaussFeatures (int32 num_samples, const VectorBase< BaseFloat > &mean, const VectorBase< BaseFloat > &sqrt_var, MatrixBase< BaseFloat > *feats)
 
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)