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::nnet3 | |
kaldi::nnet3::attention | |
Functions | |
void | GetAttentionDotProductsSimple (BaseFloat alpha, const CuMatrixBase< BaseFloat > &A, const CuMatrixBase< BaseFloat > &B, CuMatrixBase< BaseFloat > *C) |
void | ApplyScalesToOutputSimple (BaseFloat alpha, const CuMatrixBase< BaseFloat > &B, const CuMatrixBase< BaseFloat > &C, CuMatrixBase< BaseFloat > *A) |
void | ApplyScalesToInputSimple (BaseFloat alpha, const CuMatrixBase< BaseFloat > &A, const CuMatrixBase< BaseFloat > &C, CuMatrixBase< BaseFloat > *B) |
void | UnitTestAttentionDotProductAndAddScales () |
void | TestAttentionForwardBackward () |
void | UnitTestAttention () |
int | main () |
int main | ( | ) |
Definition at line 240 of file attention-test.cc.
References rnnlm::i, and kaldi::nnet3::attention::UnitTestAttention().