#include <nnet-general-component.h>
Public Member Functions | |
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 | |
CuArray< Int32Pair > | forward_indexes |
CuVector< BaseFloat > | counts |
CuArray< int32 > | backward_indexes |
Private Member Functions | |
virtual | ~StatisticsExtractionComponentPrecomputedIndexes () |
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 276 of file nnet-general-component.h.
|
inlineprivatevirtual |
Definition at line 304 of file nnet-general-component.h.
|
inlinevirtual |
Implements ComponentPrecomputedIndexes.
Definition at line 294 of file nnet-general-component.h.
References DistributeComponent::Read(), and DistributeComponent::Write().
|
virtual |
Implements ComponentPrecomputedIndexes.
Definition at line 272 of file nnet-general-component.cc.
References kaldi::nnet3::CopyPairVector(), kaldi::ExpectOneOrTwoTokens(), kaldi::nnet3::ExpectToken(), kaldi::ReadIntegerPairVector(), and kaldi::ReadIntegerVector().
|
inlinevirtual |
Implements ComponentPrecomputedIndexes.
Definition at line 302 of file nnet-general-component.h.
|
virtual |
Implements ComponentPrecomputedIndexes.
Definition at line 257 of file nnet-general-component.cc.
References kaldi::nnet3::CopyPairVector(), kaldi::WriteIntegerPairVector(), kaldi::WriteIntegerVector(), and kaldi::WriteToken().
Definition at line 292 of file nnet-general-component.h.
Referenced by StatisticsExtractionComponent::Backprop(), and StatisticsExtractionComponent::PrecomputeIndexes().
Definition at line 287 of file nnet-general-component.h.
Referenced by StatisticsExtractionComponent::PrecomputeIndexes(), and StatisticsExtractionComponent::Propagate().
Definition at line 282 of file nnet-general-component.h.
Referenced by StatisticsExtractionComponent::PrecomputeIndexes(), and StatisticsExtractionComponent::Propagate().