#include <posterior.h>
Public Types | |
typedef Posterior | T |
Public Member Functions | |
PosteriorHolder () | |
void | Clear () |
bool | Read (std::istream &is) |
T & | Value () |
void | Swap (PosteriorHolder *other) |
bool | ExtractRange (const PosteriorHolder &other, const std::string &range) |
Static Public Member Functions | |
static bool | Write (std::ostream &os, bool binary, const T &t) |
static bool | IsReadInBinary () |
Private Member Functions | |
KALDI_DISALLOW_COPY_AND_ASSIGN (PosteriorHolder) | |
Private Attributes | |
T | t_ |
Definition at line 58 of file posterior.h.
Definition at line 60 of file posterior.h.
|
inline |
|
inline |
Definition at line 66 of file posterior.h.
References PosteriorHolder::Read(), kaldi::swap(), and PosteriorHolder::t_.
|
inline |
Definition at line 81 of file posterior.h.
References PosteriorHolder::KALDI_DISALLOW_COPY_AND_ASSIGN(), and KALDI_ERR.
|
inlinestatic |
Definition at line 73 of file posterior.h.
|
private |
Referenced by PosteriorHolder::ExtractRange(), and GaussPostHolder::ExtractRange().
bool Read | ( | std::istream & | is | ) |
Definition at line 138 of file posterior.cc.
References kaldi::InitKaldiInputStream(), KALDI_WARN, kaldi::ReadPosterior(), and PosteriorHolder::t_.
Referenced by PosteriorHolder::Clear(), and GaussPostHolder::Clear().
|
inline |
Definition at line 77 of file posterior.h.
References PosteriorHolder::t_.
|
inline |
Definition at line 127 of file posterior.cc.
References kaldi::InitKaldiOutputStream(), KALDI_WARN, and kaldi::WritePosterior().
Referenced by GaussPostHolder::GaussPostHolder(), and PosteriorHolder::PosteriorHolder().
|
private |
Definition at line 87 of file posterior.h.
Referenced by PosteriorHolder::Clear(), GaussPostHolder::Clear(), PosteriorHolder::Read(), GaussPostHolder::Read(), PosteriorHolder::Swap(), GaussPostHolder::Swap(), PosteriorHolder::Value(), and GaussPostHolder::Value().