A class for reading/writing Sphinx format matrices. More...
#include <kaldi-holder-inl.h>
Public Types | |
typedef Matrix< BaseFloat > | T |
Public Member Functions | |
SphinxMatrixHolder () | |
void | Clear () |
bool | Read (std::istream &is) |
T & | Value () |
void | Swap (SphinxMatrixHolder *other) |
bool | ExtractRange (const SphinxMatrixHolder &other, const std::string &range) |
Static Public Member Functions | |
static bool | Write (std::ostream &os, bool binary, const T &m) |
static bool | IsReadInBinary () |
Private Member Functions | |
KALDI_DISALLOW_COPY_AND_ASSIGN (SphinxMatrixHolder) | |
Private Attributes | |
T | feats_ |
A class for reading/writing Sphinx format matrices.
Definition at line 816 of file kaldi-holder-inl.h.
Definition at line 818 of file kaldi-holder-inl.h.
|
inline |
Definition at line 820 of file kaldi-holder-inl.h.
|
inline |
Definition at line 822 of file kaldi-holder-inl.h.
|
inline |
Definition at line 904 of file kaldi-holder-inl.h.
References KaldiObjectHolder< KaldiType >::KALDI_DISALLOW_COPY_AND_ASSIGN(), and KALDI_ERR.
|
inlinestatic |
Definition at line 896 of file kaldi-holder-inl.h.
|
private |
|
inline |
Definition at line 851 of file kaldi-holder-inl.h.
References rnnlm::i, rnnlm::j, KALDI_SWAP4, KALDI_VLOG, KALDI_WARN, and kaldi::MachineIsLittleEndian().
|
inline |
Definition at line 900 of file kaldi-holder-inl.h.
References SphinxMatrixHolder< kFeatDim >::feats_.
|
inline |
Definition at line 898 of file kaldi-holder-inl.h.
Definition at line 825 of file kaldi-holder-inl.h.
References rnnlm::i, rnnlm::j, KALDI_SWAP4, KALDI_WARN, kaldi::MachineIsLittleEndian(), MatrixBase< Real >::NumCols(), and MatrixBase< Real >::NumRows().
|
private |
Definition at line 912 of file kaldi-holder-inl.h.
Referenced by SphinxMatrixHolder< kFeatDim >::Swap().