52 pn_compare.
AddSpVec(1.0, Gn, rn, 0.0);
63 using namespace kaldi;
This code computes Goodness of Pronunciation (GOP) and extracts phone-level pronunciation feature for...
void PreconditionDirections(const CuMatrixBase< BaseFloat > &R, double lambda, CuMatrixBase< BaseFloat > *P)
See below for comment.
This class represents a matrix that's stored on the GPU if we have one, and in memory if not...
void Invert()
Note: the CuMatrix version of the Invert() function will only work for positive definite matrices; it...
void AddSpVec(const Real alpha, const CuSpMatrix< Real > &S, const CuVectorBase< Real > &v, const Real beta)
void SetUnit()
< Set to zero
int Rand(struct RandomState *state)
void ScaleDiag(Real alpha)
#define KALDI_ASSERT(cond)
bool ApproxEqual(const CuVectorBase< Real > &other, float tol=0.01) const
void UnitTestPreconditionDirections()
void AddMat2(const Real alpha, const CuMatrixBase< Real > &M, MatrixTransposeType transM, const Real beta)
void AddVec2(const Real alpha, const CuVectorBase< Real > &v)