#include <estimate-am-sgmm2.h>
Definition at line 425 of file estimate-am-sgmm2.h.
◆ UpdateWClass() [1/2]
Definition at line 427 of file estimate-am-sgmm2.h.
References MatrixBase< Real >::NumCols(), and MatrixBase< Real >::NumRows().
Matrix< double > * F_i_ptr_
const std::vector< Matrix< double > > & log_a_
Matrix< double > * g_i_ptr_
const Matrix< double > & w_
const MleAmSgmm2Accs & accs_
void Resize(const MatrixIndexT r, const MatrixIndexT c, MatrixResizeType resize_type=kSetZero, MatrixStrideType stride_type=kDefaultStride)
Sets matrix to a specified size (zero is OK as long as both r and c are zero).
◆ UpdateWClass() [2/2]
Definition at line 441 of file estimate-am-sgmm2.h.
442 MultiThreadable(other),
Matrix< double > * F_i_ptr_
const std::vector< Matrix< double > > & log_a_
Matrix< double > * g_i_ptr_
const Matrix< double > & w_
const MleAmSgmm2Accs & accs_
◆ ~UpdateWClass()
Definition at line 448 of file estimate-am-sgmm2.h.
References kaldi::kNoTrans.
void AddMat(const Real alpha, const MatrixBase< Real > &M, MatrixTransposeType transA=kNoTrans)
*this += alpha * M [or M^T]
Matrix< double > * F_i_ptr_
Matrix< double > * g_i_ptr_
◆ operator()()
Implements MultiThreadable.
Definition at line 454 of file estimate-am-sgmm2.h.
References MleAmSgmm2Updater::UpdateWGetStats().
static void UpdateWGetStats(const MleAmSgmm2Accs &accs, const AmSgmm2 &model, const Matrix< double > &w, const std::vector< Matrix< double > > &log_a, Matrix< double > *F_i, Matrix< double > *g_i, double *tot_like, int32 num_threads, int32 thread_id)
Called, multithreaded, inside UpdateW.
const std::vector< Matrix< double > > & log_a_
const Matrix< double > & w_
const MleAmSgmm2Accs & accs_
◆ accs_
◆ F_i_
◆ F_i_ptr_
◆ g_i_
◆ g_i_ptr_
◆ log_a_
const std::vector<Matrix<double> >& log_a_ |
|
private |
◆ model_
◆ tot_like_
◆ tot_like_ptr_
◆ w_
The documentation for this class was generated from the following file: