#include <fmpe.h>
Public Member Functions | |
FmpeStats () | |
void | Init (const Fmpe &fmpe) |
FmpeStats (const Fmpe &fmpe) | |
void | Write (std::ostream &os, bool binary) const |
void | Read (std::istream &is, bool binary, bool add=false) |
SubMatrix< BaseFloat > | DerivPlus () const |
SubMatrix< BaseFloat > | DerivMinus () const |
void | AccumulateChecks (const MatrixBase< BaseFloat > &feats, const MatrixBase< BaseFloat > &direct_deriv, const MatrixBase< BaseFloat > &indirect_deriv) |
If we're using the indirect differential, accumulates certain quantities that will be used in the update phase to verify that the computation of the indirect differential was done correctly. More... | |
void | DoChecks () |
Private Attributes | |
Matrix< BaseFloat > | deriv |
Matrix< double > | checks |
void AccumulateChecks | ( | const MatrixBase< BaseFloat > & | feats, |
const MatrixBase< BaseFloat > & | direct_deriv, | ||
const MatrixBase< BaseFloat > & | indirect_deriv | ||
) |
If we're using the indirect differential, accumulates certain quantities that will be used in the update phase to verify that the computation of the indirect differential was done correctly.
Definition at line 627 of file fmpe.cc.
References rnnlm::d, KALDI_ASSERT, MatrixBase< Real >::NumCols(), and MatrixBase< Real >::NumRows().
Referenced by Fmpe::AccStats().
Definition at line 610 of file fmpe.cc.
References KALDI_ASSERT.
Referenced by Fmpe::AccStats(), and Fmpe::Update().
Definition at line 603 of file fmpe.cc.
References KALDI_ASSERT.
Referenced by Fmpe::AccStats(), and Fmpe::Update().
void DoChecks | ( | ) |
Definition at line 649 of file fmpe.cc.
References rnnlm::d, and KALDI_LOG.
Referenced by main().
void Init | ( | const Fmpe & | fmpe | ) |
Definition at line 618 of file fmpe.cc.
References Fmpe::FeatDim(), Fmpe::ProjectionTNumCols(), and Fmpe::ProjectionTNumRows().
Definition at line 685 of file fmpe.cc.
Referenced by main().
void Write | ( | std::ostream & | os, |
bool | binary | ||
) | const |
Definition at line 680 of file fmpe.cc.
Referenced by main().