Public Member Functions | |
LimitRankClass (const NnetLimitRankOpts &opts, int32 c, Nnet *nnet) | |
void | operator() () |
int32 | GetRetainedDim (int32 rows, int32 cols) |
~LimitRankClass () | |
Private Attributes | |
const NnetLimitRankOpts & | opts_ |
int32 | c_ |
Nnet * | nnet_ |
Definition at line 26 of file nnet-limit-rank.cc.
|
inline |
Definition at line 28 of file nnet-limit-rank.cc.
|
inline |
Definition at line 91 of file nnet-limit-rank.cc.
Definition at line 62 of file nnet-limit-rank.cc.
References KALDI_ASSERT, KALDI_ERR, LimitRankClass::opts_, and NnetLimitRankOpts::parameter_proportion.
Referenced by LimitRankClass::operator()().
|
inline |
Definition at line 31 of file nnet-limit-rank.cc.
References AffineComponent::BiasParams(), LimitRankClass::c_, rnnlm::d, Nnet::GetComponent(), LimitRankClass::GetRetainedDim(), KALDI_ASSERT, KALDI_LOG, kaldi::kCopyData, kaldi::kNoTrans, AffineComponent::LinearParams(), MatrixBase< Real >::MulRowsVec(), LimitRankClass::nnet_, MatrixBase< Real >::NumRows(), Vector< Real >::Resize(), Matrix< Real >::Resize(), AffineComponent::SetParams(), kaldi::SortSvd(), and VectorBase< Real >::Sum().
|
private |
Definition at line 94 of file nnet-limit-rank.cc.
Referenced by LimitRankClass::operator()().
|
private |
Definition at line 95 of file nnet-limit-rank.cc.
Referenced by LimitRankClass::operator()().
|
private |
Definition at line 93 of file nnet-limit-rank.cc.
Referenced by LimitRankClass::GetRetainedDim().