class NnetInferenceTask represents a chunk of an utterance that is requested to be computed. More...
#include <nnet-batch-compute.h>
Public Member Functions | |
NnetInferenceTask (const NnetInferenceTask &other) | |
NnetInferenceTask () | |
class NnetInferenceTask represents a chunk of an utterance that is requested to be computed.
This will be given to NnetBatchComputer, which will aggregate the tasks and complete them.
Definition at line 50 of file nnet-batch-compute.h.
|
inline |
|
inline |
Definition at line 56 of file nnet-batch-compute.h.
int32 first_input_t |
Definition at line 70 of file nnet-batch-compute.h.
Referenced by NnetBatchComputer::GetComputationRequest(), NnetBatchComputer::ComputationGroupKey::operator==(), and kaldi::nnet3::utterance_splitting::SplitInputToTasks().
int32 first_used_output_frame_index |
Definition at line 63 of file nnet-batch-compute.h.
Referenced by NnetBatchComputer::GetComputationRequest(), NnetBatchComputer::NumFullPendingMinibatches(), and kaldi::nnet3::utterance_splitting::SplitInputToTasks().
bool is_edge |
Definition at line 108 of file nnet-batch-compute.h.
Referenced by NnetBatchComputer::GetMinibatchSize(), and kaldi::nnet3::utterance_splitting::SplitInputToTasks().
bool is_irregular |
Definition at line 113 of file nnet-batch-compute.h.
Referenced by NnetBatchComputer::GetMinibatchSize(), and kaldi::nnet3::utterance_splitting::GetOutputFrameInfoForTasks().
Definition at line 116 of file nnet-batch-compute.h.
Referenced by kaldi::nnet3::utterance_splitting::AddOnlineIvectorsToTasks(), NnetBatchComputer::GetComputationRequest(), and NnetBatchComputer::NumFullPendingMinibatches().
int32 num_initial_unused_output_frames |
Definition at line 85 of file nnet-batch-compute.h.
Referenced by kaldi::nnet3::utterance_splitting::AddOnlineIvectorsToTasks(), NnetBatchDecoder::Decode(), NnetBatchComputer::FormatOutputs(), kaldi::nnet3::utterance_splitting::GetOutputFrameInfoForTasks(), kaldi::nnet3::MergeTaskOutput(), and kaldi::nnet3::utterance_splitting::SplitInputToTasks().
int32 num_output_frames |
Definition at line 78 of file nnet-batch-compute.h.
Referenced by kaldi::nnet3::utterance_splitting::AddOnlineIvectorsToTasks(), NnetBatchComputer::GetComputationRequest(), kaldi::nnet3::utterance_splitting::GetOutputFrameInfoForTasks(), NnetBatchComputer::ComputationGroupKey::operator==(), and kaldi::nnet3::utterance_splitting::SplitInputToTasks().
int32 num_used_output_frames |
Definition at line 90 of file nnet-batch-compute.h.
Referenced by NnetBatchDecoder::Decode(), NnetBatchComputer::FormatOutputs(), kaldi::nnet3::utterance_splitting::GetOutputFrameInfoForTasks(), and kaldi::nnet3::MergeTaskOutput().
Definition at line 140 of file nnet-batch-compute.h.
Referenced by NnetBatchDecoder::Decode(), NnetBatchComputer::FormatOutputs(), kaldi::nnet3::MergeTaskOutput(), and NnetBatchComputerOptions::Register().
Definition at line 137 of file nnet-batch-compute.h.
Referenced by NnetBatchDecoder::Decode(), NnetBatchComputer::FormatOutputs(), and kaldi::nnet3::MergeTaskOutput().
int32 output_t_stride |
Definition at line 74 of file nnet-batch-compute.h.
Referenced by NnetBatchComputer::GetComputationRequest().
bool output_to_cpu |
Definition at line 130 of file nnet-batch-compute.h.
Referenced by NnetBatchComputer::FormatOutputs(), kaldi::nnet3::MergeTaskOutput(), and NnetBatchComputer::NumFullPendingMinibatches().
double priority |
Definition at line 120 of file nnet-batch-compute.h.
Referenced by NnetBatchDecoder::ComputeFunc(), and NnetBatchDecoder::Decode().
Semaphore semaphore |
Definition at line 125 of file nnet-batch-compute.h.
Referenced by NnetBatchDecoder::Decode().