#include <nnet-computation.h>
Public Member Functions | |
MatrixInfo () | |
MatrixInfo (int32 num_rows, int32 num_cols, MatrixStrideType stride_type) | |
void | Read (std::istream &istream, bool binary) |
void | Write (std::ostream &ostream, bool binary) const |
Public Attributes | |
int32 | num_rows |
int32 | num_cols |
MatrixStrideType | stride_type |
Definition at line 304 of file nnet-computation.h.
|
inline |
Definition at line 308 of file nnet-computation.h.
|
inline |
Definition at line 309 of file nnet-computation.h.
void Read | ( | std::istream & | istream, |
bool | binary | ||
) |
Definition at line 144 of file nnet-computation.cc.
References kaldi::nnet3::ExpectToken(), KALDI_ASSERT, kaldi::kDefaultStride, kaldi::kStrideEqualNumCols, kaldi::ReadBasicType(), and kaldi::ReadToken().
void Write | ( | std::ostream & | ostream, |
bool | binary | ||
) | const |
Definition at line 161 of file nnet-computation.cc.
References kaldi::kDefaultStride, kaldi::WriteBasicType(), and kaldi::WriteToken().
int32 num_cols |
Definition at line 306 of file nnet-computation.h.
Referenced by NnetComputer::AcceptInput(), MatrixExtender::CanBeExtended(), ComputationChecker::CheckComputationUndefined(), ComputationLoopedOptimizer::CheckIdentifiedMatrices(), MatrixExtender::Extend(), MatrixExtender::FixComputation(), kaldi::nnet3::GetIndexesMultiStrings(), kaldi::nnet3::GetSubMatrixOfSubMatrix(), and NnetComputation::IsWholeMatrix().
int32 num_rows |
Definition at line 305 of file nnet-computation.h.
Referenced by NnetComputer::AcceptInput(), MatrixExtender::CanBeExtended(), ComputationChecker::CheckComputationUndefined(), ComputationLoopedOptimizer::CheckIdentifiedMatrices(), MatrixExtender::Extend(), kaldi::nnet3::GetIndexesMultiStrings(), kaldi::nnet3::GetSubMatrixOfSubMatrix(), NnetComputation::IsWholeMatrix(), and DerivativeTimeLimiter::LimitMatrices().
MatrixStrideType stride_type |
Definition at line 307 of file nnet-computation.h.
Referenced by NnetComputer::AcceptInput(), and ComputationLoopedOptimizer::CheckIdentifiedMatrices().