20 #ifndef KALDI_NNET2_NNET_PRECONDITION_H_ 21 #define KALDI_NNET2_NNET_PRECONDITION_H_ 61 CuMatrixBase<BaseFloat> *P);
68 const CuMatrixBase<BaseFloat> &R,
70 CuMatrixBase<BaseFloat> *P);
78 const CuMatrixBase<BaseFloat> &R,
80 CuMatrixBase<BaseFloat> *P);
This code computes Goodness of Pronunciation (GOP) and extracts phone-level pronunciation feature for...
void PreconditionDirectionsAlpha(const CuMatrixBase< BaseFloat > &R, double alpha, CuMatrixBase< BaseFloat > *P)
This wrapper for PreconditionDirections computes lambda using = /(N D) trace(R^T, R), and calls PreconditionDirections.
void PreconditionDirections(const CuMatrixBase< BaseFloat > &R, double lambda, CuMatrixBase< BaseFloat > *P)
See below for comment.
void PreconditionDirectionsAlphaRescaled(const CuMatrixBase< BaseFloat > &R, double alpha, CuMatrixBase< BaseFloat > *P)
This wrapper for PreconditionDirections computes lambda using = /(N D) trace(R^T, R), and calls PreconditionDirections.