#include <decodable-am-diag-gmm.h>


Public Member Functions | |
| DecodableAmDiagGmm (const AmDiagGmm &am, const TransitionModel &tm, const Matrix< BaseFloat > &feats, BaseFloat log_sum_exp_prune=-1.0) | |
| virtual BaseFloat | LogLikelihood (int32 frame, int32 tid) |
| Returns the log likelihood, which will be negated in the decoder. More... | |
| virtual int32 | NumIndices () const |
| Returns the number of states in the acoustic model (they will be indexed one-based, i.e. More... | |
| const TransitionModel * | TransModel () |
Public Member Functions inherited from DecodableAmDiagGmmUnmapped | |
| DecodableAmDiagGmmUnmapped (const AmDiagGmm &am, const Matrix< BaseFloat > &feats, BaseFloat log_sum_exp_prune=-1.0) | |
| If you set log_sum_exp_prune to a value greater than 0 it will prune in the LogSumExp operation (larger = more exact); I suggest 5. More... | |
| virtual int32 | NumFramesReady () const |
| The call NumFramesReady() will return the number of frames currently available for this decodable object. More... | |
| virtual bool | IsLastFrame (int32 frame) const |
| Returns true if this is the last frame. More... | |
Public Member Functions inherited from DecodableInterface | |
| virtual | ~DecodableInterface () |
Private Member Functions | |
| KALDI_DISALLOW_COPY_AND_ASSIGN (DecodableAmDiagGmm) | |
Private Attributes | |
| const TransitionModel & | trans_model_ |
Additional Inherited Members | |
Protected Member Functions inherited from DecodableAmDiagGmmUnmapped | |
| void | ResetLogLikeCache () |
| virtual BaseFloat | LogLikelihoodZeroBased (int32 frame, int32 state_index) |
Protected Attributes inherited from DecodableAmDiagGmmUnmapped | |
| const AmDiagGmm & | acoustic_model_ |
| const Matrix< BaseFloat > & | feature_matrix_ |
| int32 | previous_frame_ |
| BaseFloat | log_sum_exp_prune_ |
| std::vector< LikelihoodCacheRecord > | log_like_cache_ |
Definition at line 98 of file decodable-am-diag-gmm.h.
|
inline |
Definition at line 100 of file decodable-am-diag-gmm.h.
|
private |
Returns the log likelihood, which will be negated in the decoder.
The "frame" starts from zero. You should verify that NumFramesReady() > frame before calling this.
Reimplemented from DecodableAmDiagGmmUnmapped.
Definition at line 108 of file decodable-am-diag-gmm.h.
References DecodableAmDiagGmmUnmapped::LogLikelihoodZeroBased().
|
inlinevirtual |
Returns the number of states in the acoustic model (they will be indexed one-based, i.e.
from 1 to NumIndices(); this is for compatibility with OpenFst).
Reimplemented from DecodableAmDiagGmmUnmapped.
Definition at line 113 of file decodable-am-diag-gmm.h.
|
inline |
Definition at line 115 of file decodable-am-diag-gmm.h.
|
private |
Definition at line 117 of file decodable-am-diag-gmm.h.