IvectorTask Class Reference
Collaboration diagram for IvectorTask:

Public Member Functions

 IvectorTask (const IvectorExtractor &extractor, const Matrix< BaseFloat > &features, const Posterior &posterior, IvectorExtractorStats *stats)
 
void operator() ()
 
 ~IvectorTask ()
 

Private Attributes

const IvectorExtractorextractor_
 
Matrix< BaseFloatfeatures_
 
Posterior posterior_
 
IvectorExtractorStatsstats_
 

Detailed Description

Definition at line 33 of file ivector-extractor-acc-stats.cc.

Constructor & Destructor Documentation

◆ IvectorTask()

IvectorTask ( const IvectorExtractor extractor,
const Matrix< BaseFloat > &  features,
const Posterior posterior,
IvectorExtractorStats stats 
)
inline

Definition at line 35 of file ivector-extractor-acc-stats.cc.

Referenced by main().

38  : extractor_(extractor),
39  features_(features),
40  posterior_(posterior),
41  stats_(stats) { }
const IvectorExtractor & extractor_
IvectorExtractorStats * stats_

◆ ~IvectorTask()

~IvectorTask ( )
inline

Definition at line 46 of file ivector-extractor-acc-stats.cc.

46 { } // the destructor doesn't have to do anything.

Member Function Documentation

◆ operator()()

void operator() ( )
inline

Definition at line 43 of file ivector-extractor-acc-stats.cc.

References IvectorExtractorStats::AccStatsForUtterance(), IvectorTask::extractor_, IvectorTask::features_, IvectorTask::posterior_, and IvectorTask::stats_.

43  {
45  }
const IvectorExtractor & extractor_
void AccStatsForUtterance(const IvectorExtractor &extractor, const MatrixBase< BaseFloat > &feats, const Posterior &post)
IvectorExtractorStats * stats_

Member Data Documentation

◆ extractor_

const IvectorExtractor& extractor_
private

Definition at line 48 of file ivector-extractor-acc-stats.cc.

Referenced by IvectorTask::operator()().

◆ features_

Matrix<BaseFloat> features_
private

Definition at line 49 of file ivector-extractor-acc-stats.cc.

Referenced by IvectorTask::operator()().

◆ posterior_

Posterior posterior_
private

Definition at line 52 of file ivector-extractor-acc-stats.cc.

Referenced by IvectorTask::operator()().

◆ stats_

IvectorExtractorStats* stats_
private

Definition at line 53 of file ivector-extractor-acc-stats.cc.

Referenced by IvectorTask::operator()().


The documentation for this class was generated from the following file: