#include <online-feat-input.h>
Public Member Functions | |
OnlineCacheInput (OnlineFeatInputItf *input) | |
virtual bool | Compute (Matrix< BaseFloat > *output) |
void | GetCachedData (Matrix< BaseFloat > *output) |
int32 | Dim () const |
void | Deallocate () |
virtual | ~OnlineCacheInput () |
Public Member Functions inherited from OnlineFeatInputItf | |
virtual | ~OnlineFeatInputItf () |
Private Attributes | |
OnlineFeatInputItf * | input_ |
std::vector< Matrix< BaseFloat > *> | data_ |
Definition at line 130 of file online-feat-input.h.
|
inline |
|
inlinevirtual |
Definition at line 145 of file online-feat-input.h.
Implements OnlineFeatInputItf.
Definition at line 336 of file online-feat-input.cc.
References OnlineFeatInputItf::Compute(), data_, OnlineLdaInput::input_, and MatrixBase< Real >::NumRows().
Referenced by kaldi::GetOutput().
void Deallocate | ( | ) |
Definition at line 359 of file online-feat-input.cc.
References data_, and rnnlm::i.
|
inlinevirtual |
Implements OnlineFeatInputItf.
Definition at line 141 of file online-feat-input.h.
Definition at line 343 of file online-feat-input.cc.
References data_, rnnlm::i, KALDI_ASSERT, MatrixBase< Real >::Range(), and Matrix< Real >::Resize().
Referenced by kaldi::GetOutput(), and kaldi::TestOnlineCmnInput().
Definition at line 151 of file online-feat-input.h.
|
private |
Definition at line 148 of file online-feat-input.h.