cu-vector.cc File Reference
Include dependency graph for cu-vector.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

template<typename Real >
Real VecVec (const CuVectorBase< Real > &a, const CuVectorBase< Real > &b)
 
template float VecVec (const CuVectorBase< float > &a, const CuVectorBase< float > &b)
 
template double VecVec (const CuVectorBase< double > &a, const CuVectorBase< double > &b)
 
template<typename Real , typename OtherReal >
Real VecVec (const CuVectorBase< Real > &A, const CuVectorBase< OtherReal > &B)
 
template float VecVec (const CuVectorBase< float > &A, const CuVectorBase< double > &B)
 
template double VecVec (const CuVectorBase< double > &A, const CuVectorBase< float > &B)
 
template<typename Real >
Real VecMatVec (const CuVectorBase< Real > &v1, const CuMatrixBase< Real > &M, const CuVectorBase< Real > &v2)
 Returns $ v_1^T M v_2 $ . More...
 
template float VecMatVec (const CuVectorBase< float > &v1, const CuMatrixBase< float > &M, const CuVectorBase< float > &v2)
 
template double VecMatVec (const CuVectorBase< double > &v1, const CuMatrixBase< double > &M, const CuVectorBase< double > &v2)
 
template<typename Real >
std::ostream & operator<< (std::ostream &out, const CuVectorBase< Real > &vec)
 Print the vector to stream. More...
 
template std::ostream & operator<< (std::ostream &out, const CuVectorBase< float > &vec)
 
template std::ostream & operator<< (std::ostream &out, const CuVectorBase< double > &vec)