nnet-graph-test.cc File Reference
#include "nnet3/nnet-graph.h"
Include dependency graph for nnet-graph-test.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:
 
 kaldi::nnet3
 

Functions

bool AssertGraphEqual (const std::vector< std::vector< int32 > > &graph1, const std::vector< std::vector< int32 > > &graph2)
 
bool AssertVectorEqual (const std::vector< int32 > &vec1, const std::vector< int32 > &vec2)
 
void BuildTestGraph (std::vector< std::vector< int32 > > *graph)
 
void BuildTestGraphTranspose (std::vector< std::vector< int32 > > *graph)
 
void BuildTestSccs (std::vector< std::vector< int32 > > *sccs)
 
void BuildTestSccGraph (std::vector< std::vector< int32 > > *scc_graph)
 
void BuildTestTopSortOrder (std::vector< int32 > *node_to_order)
 
void UnitTestComputeGraphTranspose ()
 
void UnitTestFindSccs ()
 
void UnitTestMakeSccGraph ()
 
void UnitTestComputeTopSortOrder ()
 
void UnitTestComputeTopSortOrder2 ()
 
int main ()
 

Function Documentation

◆ main()

int main ( )

Definition at line 231 of file nnet-graph-test.cc.

References KALDI_LOG, kaldi::nnet3::UnitTestComputeGraphTranspose(), kaldi::nnet3::UnitTestComputeTopSortOrder(), kaldi::nnet3::UnitTestComputeTopSortOrder2(), kaldi::nnet3::UnitTestFindSccs(), and kaldi::nnet3::UnitTestMakeSccGraph().

231  {
232  using namespace kaldi;
233  using namespace kaldi::nnet3;
234 
240 
241  KALDI_LOG << "Nnet graph tests succeeded.";
242 
243  return 0;
244 }
This code computes Goodness of Pronunciation (GOP) and extracts phone-level pronunciation feature for...
Definition: chain.dox:20
void UnitTestFindSccs()
void UnitTestComputeTopSortOrder2()
void UnitTestComputeTopSortOrder()
void UnitTestComputeGraphTranspose()
void UnitTestMakeSccGraph()
#define KALDI_LOG
Definition: kaldi-error.h:153