#include <iostream>
#include <vector>
#include <cstdlib>
#include "base/kaldi-common.h"
#include "cudamatrix/cu-device.h"
#include "cudamatrix/cu-tp-matrix.h"
#include "cudamatrix/cu-vector.h"
#include "cudamatrix/cu-math.h"
#include "cudamatrix/cu-sp-matrix.h"
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 > | |
static void | AssertEqual (const CuPackedMatrix< Real > &A, const CuPackedMatrix< Real > &B, float tol=0.001) |
template<typename Real > | |
static void | AssertEqual (const PackedMatrix< Real > &A, const PackedMatrix< Real > &B, float tol=0.001) |
template<typename Real > | |
static void | AssertEqual (const PackedMatrix< Real > &A, const CuPackedMatrix< Real > &B, float tol=0.001) |
template<typename Real > | |
static void | UnitTestCuTpMatrixInvert () |
template<typename Real > | |
static void | UnitTestCuTpMatrixCopyFromTp () |
template<typename Real > | |
static void | UnitTestCuTpMatrixCopyFromMat () |
template<typename Real > | |
static void | UnitTestCuTpMatrixCholesky () |
template<class Real > | |
static void | UnitTestCuTpMatrixIO () |
template<typename Real > | |
void | CudaTpMatrixUnitTest () |
int | main () |
int main | ( | ) |
Definition at line 187 of file cu-tp-matrix-test.cc.
References KALDI_LOG, KALDI_WARN, and kaldi::SetVerboseLevel().