#include <online-feat-input.h>


Public Member Functions | |
| OnlineCmnInput (OnlineFeatInputItf *input, int32 cmn_window, int32 min_window) | |
| virtual bool | Compute (Matrix< BaseFloat > *output) | 
| virtual int32 | Dim () const | 
  Public Member Functions inherited from OnlineFeatInputItf | |
| virtual | ~OnlineFeatInputItf () | 
Private Member Functions | |
| bool | ComputeInternal (Matrix< BaseFloat > *output) | 
| void | AcceptFrame (const VectorBase< BaseFloat > &input) | 
| void | OutputFrame (VectorBase< BaseFloat > *output) | 
| int32 | NumOutputFrames (int32 num_new_frames, bool more_data) const | 
| KALDI_DISALLOW_COPY_AND_ASSIGN (OnlineCmnInput) | |
Private Attributes | |
| OnlineFeatInputItf * | input_ | 
| const int32 | cmn_window_ | 
| const int32 | min_window_ | 
| Matrix< BaseFloat > | history_ | 
| int64 | t_in_ | 
| int64 | t_out_ | 
| Vector< double > | sum_ | 
Definition at line 80 of file online-feat-input.h.
      
  | 
  inline | 
Definition at line 88 of file online-feat-input.h.
References OnlineFeatInputItf::Compute(), and KALDI_ASSERT.
      
  | 
  private | 
Definition at line 109 of file online-feat-input.cc.
References OnlineCmnInput::cmn_window_, OnlineCmnInput::history_, KALDI_ASSERT, MatrixBase< Real >::Row(), OnlineCmnInput::t_in_, and OnlineCmnInput::t_out_.
Referenced by OnlineCmnInput::ComputeInternal().
Implements OnlineFeatInputItf.
Definition at line 35 of file online-feat-input.cc.
References OnlineCmnInput::ComputeInternal(), MatrixBase< Real >::NumCols(), MatrixBase< Real >::NumRows(), Matrix< Real >::Resize(), and OnlineCmnInput::t_in_.
Definition at line 76 of file online-feat-input.cc.
References OnlineCmnInput::AcceptFrame(), OnlineCmnInput::cmn_window_, OnlineFeatInputItf::Compute(), OnlineCmnInput::Dim(), rnnlm::i, OnlineCmnInput::input_, KALDI_ASSERT, MatrixBase< Real >::NumCols(), OnlineCmnInput::NumOutputFrames(), MatrixBase< Real >::NumRows(), OnlineCmnInput::OutputFrame(), Matrix< Real >::Resize(), Matrix< Real >::Swap(), OnlineCmnInput::t_in_, and OnlineCmnInput::t_out_.
Referenced by OnlineCmnInput::Compute().
      
  | 
  inlinevirtual | 
Implements OnlineFeatInputItf.
Definition at line 95 of file online-feat-input.h.
Referenced by OnlineCmnInput::ComputeInternal().
      
  | 
  private | 
Definition at line 57 of file online-feat-input.cc.
References OnlineCmnInput::min_window_, OnlineCmnInput::t_in_, and OnlineCmnInput::t_out_.
Referenced by OnlineCmnInput::ComputeInternal().
      
  | 
  private | 
Definition at line 116 of file online-feat-input.cc.
References VectorBase< Real >::AddVec(), OnlineCmnInput::cmn_window_, VectorBase< Real >::CopyFromVec(), OnlineCmnInput::history_, rnnlm::i, KALDI_ASSERT, OnlineCmnInput::min_window_, MatrixBase< Real >::Row(), OnlineCmnInput::sum_, OnlineCmnInput::t_in_, and OnlineCmnInput::t_out_.
Referenced by OnlineCmnInput::ComputeInternal().
      
  | 
  private | 
Definition at line 102 of file online-feat-input.h.
Referenced by OnlineCmnInput::AcceptFrame(), OnlineCmnInput::ComputeInternal(), and OnlineCmnInput::OutputFrame().
Definition at line 104 of file online-feat-input.h.
Referenced by OnlineCmnInput::AcceptFrame(), and OnlineCmnInput::OutputFrame().
      
  | 
  private | 
Definition at line 101 of file online-feat-input.h.
Referenced by OnlineCmnInput::ComputeInternal().
      
  | 
  private | 
Definition at line 103 of file online-feat-input.h.
Referenced by OnlineCmnInput::NumOutputFrames(), and OnlineCmnInput::OutputFrame().
      
  | 
  private | 
Definition at line 123 of file online-feat-input.h.
Referenced by OnlineCmnInput::OutputFrame().
      
  | 
  private | 
Definition at line 120 of file online-feat-input.h.
Referenced by OnlineCmnInput::AcceptFrame(), OnlineCmnInput::Compute(), OnlineCmnInput::ComputeInternal(), OnlineCmnInput::NumOutputFrames(), and OnlineCmnInput::OutputFrame().
      
  | 
  private | 
Definition at line 121 of file online-feat-input.h.
Referenced by OnlineCmnInput::AcceptFrame(), OnlineCmnInput::ComputeInternal(), OnlineCmnInput::NumOutputFrames(), and OnlineCmnInput::OutputFrame().