#include <nnet-general-component.h>
Public Member Functions | |
virtual | ~DistributeComponentPrecomputedIndexes () |
virtual ComponentPrecomputedIndexes * | Copy () const |
virtual void | Write (std::ostream &ostream, bool binary) const |
virtual void | Read (std::istream &istream, bool binary) |
virtual std::string | Type () const |
Public Member Functions inherited from ComponentPrecomputedIndexes | |
virtual | ~ComponentPrecomputedIndexes () |
Public Attributes | |
std::vector< std::pair< int32, int32 > > | pairs |
Additional Inherited Members | |
Static Public Member Functions inherited from ComponentPrecomputedIndexes | |
static ComponentPrecomputedIndexes * | ReadNew (std::istream &is, bool binary) |
static ComponentPrecomputedIndexes * | NewComponentPrecomputedIndexesOfType (const std::string &cpi_type) |
Definition at line 133 of file nnet-general-component.h.
|
inlinevirtual |
Definition at line 144 of file nnet-general-component.h.
|
inlinevirtual |
Implements ComponentPrecomputedIndexes.
Definition at line 146 of file nnet-general-component.h.
References DistributeComponent::Read(), and DistributeComponent::Write().
|
virtual |
Implements ComponentPrecomputedIndexes.
Definition at line 95 of file nnet-general-component.cc.
References kaldi::ExpectOneOrTwoTokens(), kaldi::nnet3::ExpectToken(), and kaldi::ReadIntegerPairVector().
|
inlinevirtual |
Implements ComponentPrecomputedIndexes.
Definition at line 154 of file nnet-general-component.h.
|
virtual |
Implements ComponentPrecomputedIndexes.
Definition at line 88 of file nnet-general-component.cc.
References kaldi::WriteIntegerPairVector(), and kaldi::WriteToken().
Definition at line 140 of file nnet-general-component.h.
Referenced by DistributeComponent::ComputeInputPointers(), and DistributeComponent::PrecomputeIndexes().