Public Member Functions | |
OnlineMatrixInput (const Matrix< BaseFloat > &feats) | |
virtual int32 | Dim () const |
virtual bool | Compute (Matrix< BaseFloat > *output) |
Public Member Functions inherited from OnlineFeatInputItf | |
virtual | ~OnlineFeatInputItf () |
Private Attributes | |
int32 | position_ |
Matrix< BaseFloat > | feats_ |
Definition at line 30 of file online-feat-test.cc.
|
inline |
Definition at line 32 of file online-feat-test.cc.
Implements OnlineFeatInputItf.
Definition at line 37 of file online-feat-test.cc.
References MatrixBase< Real >::CopyFromMat(), OnlineMatrixInput::feats_, KALDI_ASSERT, MatrixBase< Real >::NumCols(), MatrixBase< Real >::NumRows(), OnlineMatrixInput::position_, kaldi::Rand(), MatrixBase< Real >::Range(), and Matrix< Real >::Resize().
|
inlinevirtual |
Implements OnlineFeatInputItf.
Definition at line 35 of file online-feat-test.cc.
References OnlineMatrixInput::feats_, and MatrixBase< Real >::NumCols().
Definition at line 66 of file online-feat-test.cc.
Referenced by OnlineMatrixInput::Compute(), and OnlineMatrixInput::Dim().
|
private |
Definition at line 65 of file online-feat-test.cc.
Referenced by OnlineMatrixInput::Compute().