#include <nnet-pdf-prior.h>

Public Member Functions | |
| PdfPrior (const PdfPriorOptions &opts) | |
| Initialize pdf-prior from options.  More... | |
| void | SubtractOnLogpost (CuMatrixBase< BaseFloat > *llk) | 
| Subtract pdf priors from log-posteriors to get pseudo log-likelihoods.  More... | |
Private Member Functions | |
| KALDI_DISALLOW_COPY_AND_ASSIGN (PdfPrior) | |
Private Attributes | |
| BaseFloat | prior_scale_ | 
| CuVector< BaseFloat > | log_priors_ | 
Definition at line 59 of file nnet-pdf-prior.h.
      
  | 
  explicit | 
Initialize pdf-prior from options.
Definition at line 26 of file nnet-pdf-prior.cc.
References VectorBase< Real >::Add(), VectorBase< Real >::ApplyLog(), PdfPriorOptions::class_frame_counts, Input::Close(), VectorBase< Real >::Dim(), rnnlm::i, KALDI_ASSERT, KALDI_ISFINITE, KALDI_LOG, PdfPrior::log_priors_, Input::OpenTextMode(), PdfPriorOptions::prior_floor, Vector< Real >::Read(), VectorBase< Real >::Scale(), Input::Stream(), and VectorBase< Real >::Sum().
      
  | 
  private | 
| void SubtractOnLogpost | ( | CuMatrixBase< BaseFloat > * | llk | ) | 
Subtract pdf priors from log-posteriors to get pseudo log-likelihoods.
Definition at line 76 of file nnet-pdf-prior.cc.
References CuMatrixBase< Real >::AddVecToRows(), KALDI_ERR, PdfPrior::log_priors_, CuMatrixBase< Real >::NumCols(), and PdfPrior::prior_scale_.
Referenced by main().
Definition at line 69 of file nnet-pdf-prior.h.
Referenced by PdfPrior::PdfPrior(), and PdfPrior::SubtractOnLogpost().
      
  | 
  private | 
Definition at line 68 of file nnet-pdf-prior.h.
Referenced by PdfPrior::SubtractOnLogpost().