fmllr-diag-gmm.cc File Reference
#include <utility>
#include <vector>
#include "transform/fmllr-diag-gmm.h"
Include dependency graph for fmllr-diag-gmm.cc:

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:
 

Functions

BaseFloat ComputeFmllrMatrixDiagGmm (const MatrixBase< BaseFloat > &in_xform, const AffineXformStats &stats, std::string fmllr_type, int32 num_iters, MatrixBase< BaseFloat > *out_xform)
 This function internally calls ComputeFmllrMatrixDiagGmm{Full, Diagonal, Offset}, depending on "fmllr_type". More...
 
void FmllrInnerUpdate (SpMatrix< double > &inv_G, VectorBase< double > &k, double beta, int32 row, MatrixBase< double > *transform)
 This function does one row of the inner-loop fMLLR transform update. More...
 
BaseFloat ComputeFmllrMatrixDiagGmmFull (const MatrixBase< BaseFloat > &in_xform, const AffineXformStats &stats, int32 num_iters, MatrixBase< BaseFloat > *out_xform)
 Updates the FMLLR matrix using Mark Gales' row-by-row update. More...
 
BaseFloat ComputeFmllrMatrixDiagGmmDiagonal (const MatrixBase< BaseFloat > &in_xform, const AffineXformStats &stats, MatrixBase< BaseFloat > *out_xform)
 This does diagonal fMLLR (i.e. More...
 
BaseFloat ComputeFmllrMatrixDiagGmmOffset (const MatrixBase< BaseFloat > &in_xform, const AffineXformStats &stats, MatrixBase< BaseFloat > *out_xform)
 This does offset-only fMLLR, i.e. it only estimates an offset. More...
 
void ApplyFeatureTransformToStats (const MatrixBase< BaseFloat > &xform, AffineXformStats *stats)
 This function applies a feature-level transform to stats (useful for certain techniques based on fMLLR). More...
 
void ApplyModelTransformToStats (const MatrixBase< BaseFloat > &xform, AffineXformStats *stats)
 ApplyModelTransformToStats takes a transform "xform", which must be diagonal (i.e. More...
 
float FmllrAuxFuncDiagGmm (const MatrixBase< float > &xform, const AffineXformStats &stats)
 Returns the (diagonal-GMM) FMLLR auxiliary function value given the transform and the stats. More...
 
double FmllrAuxFuncDiagGmm (const MatrixBase< double > &xform, const AffineXformStats &stats)
 
BaseFloat FmllrAuxfGradient (const MatrixBase< BaseFloat > &xform, const AffineXformStats &stats, MatrixBase< BaseFloat > *grad_out)
 Returns the (diagonal-GMM) FMLLR auxiliary function value given the transform and the stats. More...