UpdatePhoneVectorsClass Class Reference
Inheritance diagram for UpdatePhoneVectorsClass:
Collaboration diagram for UpdatePhoneVectorsClass:

Public Member Functions

 UpdatePhoneVectorsClass (const MleAmSgmm2Updater &updater, const MleAmSgmm2Accs &accs, const std::vector< SpMatrix< double > > &H, const std::vector< Matrix< double > > &log_a, AmSgmm2 *model, double *auxf_impr)
 
 UpdatePhoneVectorsClass (const UpdatePhoneVectorsClass &other)
 
 ~UpdatePhoneVectorsClass ()
 
void operator() ()
 
- Public Member Functions inherited from MultiThreadable
virtual ~MultiThreadable ()
 

Private Attributes

const MleAmSgmm2Updaterupdater_
 
const MleAmSgmm2Accsaccs_
 
AmSgmm2model_
 
const std::vector< SpMatrix< double > > & H_
 
const std::vector< Matrix< double > > & log_a_
 
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 738 of file estimate-am-sgmm2.cc.

Constructor & Destructor Documentation

◆ UpdatePhoneVectorsClass() [1/2]

UpdatePhoneVectorsClass ( const MleAmSgmm2Updater updater,
const MleAmSgmm2Accs accs,
const std::vector< SpMatrix< double > > &  H,
const std::vector< Matrix< double > > &  log_a,
AmSgmm2 model,
double *  auxf_impr 
)
inline

Definition at line 740 of file estimate-am-sgmm2.cc.

745  :
746  updater_(updater), accs_(accs), model_(model),
747  H_(H), log_a_(log_a), auxf_impr_ptr_(auxf_impr),
748  auxf_impr_(0.0) { }
const MleAmSgmm2Updater & updater_
const std::vector< Matrix< double > > & log_a_
const std::vector< SpMatrix< double > > & H_

◆ UpdatePhoneVectorsClass() [2/2]

Definition at line 750 of file estimate-am-sgmm2.cc.

750  :
751  MultiThreadable(other),
752  updater_(other.updater_), accs_(other.accs_), model_(other.model_),
753  H_(other.H_), log_a_(other.log_a_), auxf_impr_ptr_(other.auxf_impr_ptr_),
754  auxf_impr_(0.0) { }
const MleAmSgmm2Updater & updater_
const std::vector< Matrix< double > > & log_a_
const std::vector< SpMatrix< double > > & H_

◆ ~UpdatePhoneVectorsClass()

Definition at line 756 of file estimate-am-sgmm2.cc.

Member Function Documentation

◆ operator()()

void operator() ( )
inlinevirtual

Implements MultiThreadable.

Definition at line 760 of file estimate-am-sgmm2.cc.

760  {
761  // Note: give them local copy of the sums we're computing,
762  // which will be propagated to the total sums in the destructor.
765  }
const MleAmSgmm2Updater & updater_
void UpdatePhoneVectorsInternal(const MleAmSgmm2Accs &accs, const std::vector< SpMatrix< double > > &H, const std::vector< Matrix< double > > &log_a, AmSgmm2 *model, double *auxf_impr, int32 num_threads, int32 thread_id) const
const std::vector< Matrix< double > > & log_a_
const std::vector< SpMatrix< double > > & H_

Member Data Documentation

◆ accs_

const MleAmSgmm2Accs& accs_
private

Definition at line 768 of file estimate-am-sgmm2.cc.

◆ auxf_impr_

double auxf_impr_
private

Definition at line 773 of file estimate-am-sgmm2.cc.

◆ auxf_impr_ptr_

double* auxf_impr_ptr_
private

Definition at line 772 of file estimate-am-sgmm2.cc.

◆ H_

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

Definition at line 770 of file estimate-am-sgmm2.cc.

◆ log_a_

const std::vector<Matrix<double> >& log_a_
private

Definition at line 771 of file estimate-am-sgmm2.cc.

◆ model_

AmSgmm2* model_
private

Definition at line 769 of file estimate-am-sgmm2.cc.

◆ updater_

const MleAmSgmm2Updater& updater_
private

Definition at line 767 of file estimate-am-sgmm2.cc.


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