When you instantiate class DecodableNnetSimpleLooped, you should give it a const reference to this class, that has been previously initialized. More...
#include <decodable-simple-looped.h>
Public Member Functions | |
DecodableNnetSimpleLoopedInfo (const NnetSimpleLoopedComputationOptions &opts, Nnet *nnet) | |
DecodableNnetSimpleLoopedInfo (const NnetSimpleLoopedComputationOptions &opts, AmNnetSimple *nnet) | |
DecodableNnetSimpleLoopedInfo (const NnetSimpleLoopedComputationOptions &opts, const Vector< BaseFloat > &priors, Nnet *nnet) | |
void | Init (const NnetSimpleLoopedComputationOptions &opts, Nnet *nnet) |
When you instantiate class DecodableNnetSimpleLooped, you should give it a const reference to this class, that has been previously initialized.
Definition at line 102 of file decodable-simple-looped.h.
DecodableNnetSimpleLoopedInfo | ( | const NnetSimpleLoopedComputationOptions & | opts, |
Nnet * | nnet | ||
) |
Definition at line 28 of file decodable-simple-looped.cc.
References DecodableNnetSimpleLoopedInfo::Init().
DecodableNnetSimpleLoopedInfo | ( | const NnetSimpleLoopedComputationOptions & | opts, |
AmNnetSimple * | nnet | ||
) |
Definition at line 46 of file decodable-simple-looped.cc.
References AmNnetSimple::GetNnet(), DecodableNnetSimpleLoopedInfo::Init(), and DecodableNnetSimpleLoopedInfo::log_priors.
DecodableNnetSimpleLoopedInfo | ( | const NnetSimpleLoopedComputationOptions & | opts, |
const Vector< BaseFloat > & | priors, | ||
Nnet * | nnet | ||
) |
Definition at line 35 of file decodable-simple-looped.cc.
References DecodableNnetSimpleLoopedInfo::Init(), and DecodableNnetSimpleLoopedInfo::log_priors.
void Init | ( | const NnetSimpleLoopedComputationOptions & | opts, |
Nnet * | nnet | ||
) |
Definition at line 55 of file decodable-simple-looped.cc.
References NnetSimpleLoopedComputationOptions::Check(), kaldi::nnet3::CompileLooped(), DecodableNnetSimpleLoopedInfo::computation, NnetComputation::ComputeCudaIndexes(), kaldi::nnet3::ComputeSimpleNnetContext(), kaldi::nnet3::CreateLoopedComputationRequest(), NnetSimpleLoopedComputationOptions::extra_left_context_initial, NnetSimpleLoopedComputationOptions::frame_subsampling_factor, DecodableNnetSimpleLoopedInfo::frames_left_context, NnetSimpleLoopedComputationOptions::frames_per_chunk, DecodableNnetSimpleLoopedInfo::frames_per_chunk, DecodableNnetSimpleLoopedInfo::frames_right_context, kaldi::nnet3::GetChunkSize(), DecodableNnetSimpleLoopedInfo::has_ivectors, Nnet::InputDim(), kaldi::nnet3::IsSimpleNnet(), KALDI_ASSERT, KALDI_VLOG, kaldi::nnet3::ModifyNnetIvectorPeriod(), NnetSimpleLoopedComputationOptions::optimize_config, DecodableNnetSimpleLoopedInfo::output_dim, Nnet::OutputDim(), DecodableNnetSimpleLoopedInfo::request1, DecodableNnetSimpleLoopedInfo::request2, and DecodableNnetSimpleLoopedInfo::request3.
Referenced by DecodableNnetSimpleLoopedInfo::DecodableNnetSimpleLoopedInfo().
NnetComputation computation |
Definition at line 153 of file decodable-simple-looped.h.
Referenced by DecodableNnetSimpleLoopedInfo::Init().
int32 frames_left_context |
Definition at line 132 of file decodable-simple-looped.h.
Referenced by DecodableNnetLoopedOnlineBase::AdvanceChunk(), DecodableNnetSimpleLooped::AdvanceChunk(), and DecodableNnetSimpleLoopedInfo::Init().
int32 frames_per_chunk |
Definition at line 138 of file decodable-simple-looped.h.
Referenced by DecodableNnetLoopedOnlineBase::AdvanceChunk(), DecodableNnetSimpleLooped::AdvanceChunk(), DecodableNnetSimpleLoopedInfo::Init(), and DecodableNnetLoopedOnlineBase::NumFramesReady().
int32 frames_right_context |
Definition at line 134 of file decodable-simple-looped.h.
Referenced by DecodableNnetLoopedOnlineBase::AdvanceChunk(), DecodableNnetSimpleLooped::AdvanceChunk(), DecodableNnetSimpleLoopedInfo::Init(), and DecodableNnetLoopedOnlineBase::NumFramesReady().
bool has_ivectors |
Definition at line 145 of file decodable-simple-looped.h.
Referenced by DecodableNnetLoopedOnlineBase::AdvanceChunk(), DecodableNnetSimpleLooped::AdvanceChunk(), DecodableNnetSimpleLooped::GetCurrentIvector(), and DecodableNnetSimpleLoopedInfo::Init().
Definition at line 127 of file decodable-simple-looped.h.
Referenced by DecodableNnetLoopedOnlineBase::AdvanceChunk(), DecodableNnetSimpleLooped::AdvanceChunk(), and DecodableNnetSimpleLoopedInfo::DecodableNnetSimpleLoopedInfo().
const Nnet& nnet |
Definition at line 124 of file decodable-simple-looped.h.
Referenced by DecodableNnetLoopedOnlineBase::DecodableNnetLoopedOnlineBase().
const NnetSimpleLoopedComputationOptions& opts |
Definition at line 122 of file decodable-simple-looped.h.
Referenced by DecodableNnetLoopedOnlineBase::AdvanceChunk(), DecodableNnetSimpleLooped::AdvanceChunk(), DecodableNnetSimpleLooped::DecodableNnetSimpleLooped(), DecodableNnetLoopedOnlineBase::FrameSubsamplingFactor(), DecodableNnetLoopedOnlineBase::IsLastFrame(), and DecodableNnetLoopedOnlineBase::NumFramesReady().
int32 output_dim |
Definition at line 141 of file decodable-simple-looped.h.
Referenced by DecodableNnetLoopedOnlineBase::AdvanceChunk(), DecodableNnetSimpleLooped::AdvanceChunk(), DecodableNnetSimpleLoopedInfo::Init(), and DecodableNnetLoopedOnline::NumIndices().
ComputationRequest request1 |
Definition at line 150 of file decodable-simple-looped.h.
Referenced by DecodableNnetLoopedOnlineBase::AdvanceChunk(), DecodableNnetSimpleLooped::AdvanceChunk(), and DecodableNnetSimpleLoopedInfo::Init().
ComputationRequest request2 |
Definition at line 150 of file decodable-simple-looped.h.
Referenced by DecodableNnetLoopedOnlineBase::AdvanceChunk(), DecodableNnetSimpleLooped::AdvanceChunk(), and DecodableNnetSimpleLoopedInfo::Init().
ComputationRequest request3 |
Definition at line 150 of file decodable-simple-looped.h.
Referenced by DecodableNnetSimpleLoopedInfo::Init().