#include <nnet-computation.h>
Public Member Functions | |
SubMatrixInfo () | |
SubMatrixInfo (int32 matrix_index, int32 row_offset, int32 num_rows, int32 col_offset, int32 num_cols) | |
void | Read (std::istream &istream, bool binary) |
void | Write (std::ostream &ostream, bool binary) const |
bool | operator== (const SubMatrixInfo &other) const |
Public Attributes | |
int32 | matrix_index |
int32 | row_offset |
int32 | num_rows |
int32 | col_offset |
int32 | num_cols |
Definition at line 323 of file nnet-computation.h.
|
inline |
Definition at line 329 of file nnet-computation.h.
|
inline |
Definition at line 330 of file nnet-computation.h.
References MiscComputationInfo::operator==().
bool operator== | ( | const SubMatrixInfo & | other | ) | const |
Definition at line 984 of file nnet-computation.cc.
References NnetComputation::SubMatrixInfo::col_offset, NnetComputation::SubMatrixInfo::matrix_index, NnetComputation::SubMatrixInfo::num_cols, NnetComputation::SubMatrixInfo::num_rows, and NnetComputation::SubMatrixInfo::row_offset.
void Read | ( | std::istream & | istream, |
bool | binary | ||
) |
Definition at line 203 of file nnet-computation.cc.
References kaldi::nnet3::ExpectToken(), and kaldi::ReadBasicType().
void Write | ( | std::ostream & | ostream, |
bool | binary | ||
) | const |
Definition at line 218 of file nnet-computation.cc.
References kaldi::WriteBasicType(), and kaldi::WriteToken().
int32 col_offset |
Definition at line 327 of file nnet-computation.h.
Referenced by MatrixExtender::CanBeExtended(), ComputationChecker::CheckComputationUndefined(), ComputationVariables::ComputeSplitPoints(), ComputationExpander::ComputeSubmatrixInfo(), ComputationVariables::ComputeVariablesForSubmatrix(), MatrixExtender::FixComputation(), kaldi::nnet3::GetIndexesMultiStrings(), kaldi::nnet3::GetSubMatrixOfSubMatrix(), NnetComputation::GetSubmatrixStrings(), DerivativeTimeLimiter::LimitMatrices(), and NnetComputation::SubMatrixInfo::operator==().
int32 matrix_index |
Definition at line 324 of file nnet-computation.h.
Referenced by MatrixExtender::CanBeExtended(), ComputationChecker::CheckComputationUndefined(), ComputationVariables::ComputeSplitPoints(), ComputationExpander::ComputeSubmatrixInfo(), DerivativeTimeLimiter::ComputeSubmatrixMaps(), ComputationVariables::ComputeVariablesForSubmatrix(), MatrixExtender::Extend(), MatrixExtender::FixComputation(), kaldi::nnet3::GetIndexesMultiStrings(), DerivativeTimeLimiter::GetPruneValues(), kaldi::nnet3::GetSubMatrixOfSubMatrix(), NnetComputation::GetSubmatrixStrings(), DerivativeTimeLimiter::LimitMatrices(), NnetComputation::NewSubMatrix(), and NnetComputation::SubMatrixInfo::operator==().
int32 num_cols |
Definition at line 328 of file nnet-computation.h.
Referenced by MatrixExtender::CanBeExtended(), ComputationChecker::CheckComputationUndefined(), ComputationVariables::ComputeSplitPoints(), ComputationExpander::ComputeSubmatrixInfo(), ComputationVariables::ComputeVariablesForSubmatrix(), MatrixExtender::FixComputation(), kaldi::nnet3::GetIndexesMultiStrings(), kaldi::nnet3::GetMaxMemoryUse(), kaldi::nnet3::GetSubMatrixOfSubMatrix(), NnetComputation::GetSubmatrixStrings(), DerivativeTimeLimiter::LimitMatrices(), and NnetComputation::SubMatrixInfo::operator==().
int32 num_rows |
Definition at line 326 of file nnet-computation.h.
Referenced by MatrixExtender::CanBeExtended(), ComputationVariables::ComputeSplitPoints(), ComputationExpander::ComputeSubmatrixInfo(), DerivativeTimeLimiter::ComputeSubmatrixMaps(), ComputationVariables::ComputeVariablesForSubmatrix(), MatrixExtender::FixComputation(), kaldi::nnet3::GetIndexesMultiStrings(), kaldi::nnet3::GetMaxMemoryUse(), DerivativeTimeLimiter::GetPruneValues(), kaldi::nnet3::GetSubMatrixOfSubMatrix(), NnetComputation::GetSubmatrixStrings(), DerivativeTimeLimiter::LimitMatrices(), and NnetComputation::SubMatrixInfo::operator==().
int32 row_offset |
Definition at line 325 of file nnet-computation.h.
Referenced by MatrixExtender::CanBeExtended(), ComputationChecker::CheckComputationUndefined(), ComputationVariables::ComputeSplitPoints(), ComputationExpander::ComputeSubmatrixInfo(), DerivativeTimeLimiter::ComputeSubmatrixMaps(), ComputationVariables::ComputeVariablesForSubmatrix(), MatrixExtender::FixComputation(), kaldi::nnet3::GetIndexesMultiStrings(), DerivativeTimeLimiter::GetPruneValues(), kaldi::nnet3::GetSubMatrixOfSubMatrix(), NnetComputation::GetSubmatrixStrings(), DerivativeTimeLimiter::LimitMatrices(), and NnetComputation::SubMatrixInfo::operator==().