EbwUpdatePhoneVectorsClass Class Reference
Inheritance diagram for EbwUpdatePhoneVectorsClass:
Collaboration diagram for EbwUpdatePhoneVectorsClass:

Public Member Functions

 EbwUpdatePhoneVectorsClass (const EbwAmSgmm2Updater *updater, const MleAmSgmm2Accs &num_accs, const MleAmSgmm2Accs &den_accs, const std::vector< SpMatrix< double > > &H, AmSgmm2 *model, double *auxf_impr)
 
 EbwUpdatePhoneVectorsClass (const EbwUpdatePhoneVectorsClass &other)
 
 ~EbwUpdatePhoneVectorsClass ()
 
void operator() ()
 
- Public Member Functions inherited from MultiThreadable
virtual ~MultiThreadable ()
 

Private Attributes

const EbwAmSgmm2Updaterupdater_
 
const MleAmSgmm2Accsnum_accs_
 
const MleAmSgmm2Accsden_accs_
 
AmSgmm2model_
 
const std::vector< SpMatrix< double > > & H_
 
double * auxf_impr_ptr_
 
double auxf_impr_
 

Additional Inherited Members

- Public Attributes inherited from MultiThreadable
int32 thread_id_
 
int32 num_threads_
 

Detailed Description

Definition at line 108 of file estimate-am-sgmm2-ebw.cc.

Constructor & Destructor Documentation

◆ EbwUpdatePhoneVectorsClass() [1/2]

EbwUpdatePhoneVectorsClass ( const EbwAmSgmm2Updater updater,
const MleAmSgmm2Accs num_accs,
const MleAmSgmm2Accs den_accs,
const std::vector< SpMatrix< double > > &  H,
AmSgmm2 model,
double *  auxf_impr 
)
inline

Definition at line 110 of file estimate-am-sgmm2-ebw.cc.

115  :
116  updater_(updater), num_accs_(num_accs), den_accs_(den_accs),
117  model_(model), H_(H), auxf_impr_ptr_(auxf_impr), auxf_impr_(0.0) { }
const std::vector< SpMatrix< double > > & H_

◆ EbwUpdatePhoneVectorsClass() [2/2]

Definition at line 119 of file estimate-am-sgmm2-ebw.cc.

119  :
120  MultiThreadable(other),
121  updater_(other.updater_), num_accs_(other.num_accs_),
122  den_accs_(other.den_accs_), model_(other.model_),
123  H_(other.H_), auxf_impr_ptr_(other.auxf_impr_ptr_), auxf_impr_(0.0) { }
const std::vector< SpMatrix< double > > & H_

◆ ~EbwUpdatePhoneVectorsClass()

Member Function Documentation

◆ operator()()

void operator() ( )
inlinevirtual

Implements MultiThreadable.

Definition at line 129 of file estimate-am-sgmm2-ebw.cc.

129  {
130  // Note: give them local copy of the sums we're computing,
131  // which will be propagated to the total sums in the destructor.
134  }
void UpdatePhoneVectorsInternal(const MleAmSgmm2Accs &num_accs, const MleAmSgmm2Accs &den_accs, const std::vector< SpMatrix< double > > &H, AmSgmm2 *model, double *auxf_impr, int32 num_threads, int32 thread_id) const
const std::vector< SpMatrix< double > > & H_

Member Data Documentation

◆ auxf_impr_

double auxf_impr_
private

Definition at line 142 of file estimate-am-sgmm2-ebw.cc.

◆ auxf_impr_ptr_

double* auxf_impr_ptr_
private

Definition at line 141 of file estimate-am-sgmm2-ebw.cc.

◆ den_accs_

const MleAmSgmm2Accs& den_accs_
private

Definition at line 138 of file estimate-am-sgmm2-ebw.cc.

◆ H_

const std::vector<SpMatrix<double> >& H_
private

Definition at line 140 of file estimate-am-sgmm2-ebw.cc.

◆ model_

AmSgmm2* model_
private

Definition at line 139 of file estimate-am-sgmm2-ebw.cc.

◆ num_accs_

const MleAmSgmm2Accs& num_accs_
private

Definition at line 137 of file estimate-am-sgmm2-ebw.cc.

◆ updater_

const EbwAmSgmm2Updater* updater_
private

Definition at line 136 of file estimate-am-sgmm2-ebw.cc.


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