#include <nnet-general-component.h>
Public Member Functions | |
virtual | ~SpecAugmentTimeMaskComponentPrecomputedIndexes () |
ComponentPrecomputedIndexes * | Copy () const |
virtual void | Write (std::ostream &os, bool binary) const |
virtual void | Read (std::istream &is, bool binary) |
virtual std::string | Type () const |
Public Member Functions inherited from ComponentPrecomputedIndexes | |
virtual | ~ComponentPrecomputedIndexes () |
Public Attributes | |
std::vector< std::vector< int32 > > | indexes |
int32 | tot_size |
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 1084 of file nnet-general-component.h.
|
inlinevirtual |
Definition at line 1099 of file nnet-general-component.h.
|
inlinevirtual |
Implements ComponentPrecomputedIndexes.
Definition at line 1101 of file nnet-general-component.h.
References DistributeComponent::Read(), and DistributeComponent::Write().
|
virtual |
Implements ComponentPrecomputedIndexes.
Definition at line 2108 of file nnet-general-component.cc.
References kaldi::ExpectOneOrTwoTokens(), kaldi::nnet3::ExpectToken(), rnnlm::i, kaldi::ReadBasicType(), and kaldi::ReadIntegerVector().
|
inlinevirtual |
Implements ComponentPrecomputedIndexes.
Definition at line 1109 of file nnet-general-component.h.
|
virtual |
Implements ComponentPrecomputedIndexes.
Definition at line 2094 of file nnet-general-component.cc.
References rnnlm::i, kaldi::WriteBasicType(), kaldi::WriteIntegerVector(), and kaldi::WriteToken().
std::vector<std::vector<int32> > indexes |
Definition at line 1093 of file nnet-general-component.h.
Referenced by SpecAugmentTimeMaskComponent::GetMemo(), and SpecAugmentTimeMaskComponent::PrecomputeIndexes().
int32 tot_size |
Definition at line 1097 of file nnet-general-component.h.
Referenced by SpecAugmentTimeMaskComponent::GetMemo(), and SpecAugmentTimeMaskComponent::PrecomputeIndexes().