All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
io-funcs-test.cc File Reference
#include "base/io-funcs.h"
#include "base/kaldi-math.h"
Include dependency graph for io-funcs-test.cc:

Go to the source code of this file.

Namespaces

 kaldi
 Relabels neural network egs with the read pdf-id alignments.
 

Functions

void UnitTestIo (bool binary)
 
int main ()
 

Function Documentation

int main ( )

Definition at line 151 of file io-funcs-test.cc.

References rnnlm::i, KALDI_ASSERT, and kaldi::UnitTestIo().

151  {
152  using namespace kaldi;
153  for (size_t i = 0; i < 10; i++) {
154  UnitTestIo(false);
155  UnitTestIo(true);
156  }
157  KALDI_ASSERT(1); // just to check that KALDI_ASSERT does not fail for 1.
158  return 0;
159 }
Relabels neural network egs with the read pdf-id alignments.
Definition: chain.dox:20
void UnitTestIo(bool binary)
#define KALDI_ASSERT(cond)
Definition: kaldi-error.h:169