#include <nnet-general-component.h>
Public Member Functions | |
virtual | ~GeneralDropoutComponentPrecomputedIndexes () |
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 | |
int32 | num_mask_rows |
CuArray< int32 > | indexes |
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 960 of file nnet-general-component.h.
|
inlinevirtual |
Definition at line 980 of file nnet-general-component.h.
|
inlinevirtual |
Implements ComponentPrecomputedIndexes.
Definition at line 982 of file nnet-general-component.h.
References DistributeComponent::Read(), and DistributeComponent::Write().
|
virtual |
Implements ComponentPrecomputedIndexes.
Definition at line 1877 of file nnet-general-component.cc.
References kaldi::ExpectOneOrTwoTokens(), kaldi::nnet3::ExpectToken(), and kaldi::ReadBasicType().
|
inlinevirtual |
Implements ComponentPrecomputedIndexes.
Definition at line 990 of file nnet-general-component.h.
|
virtual |
Implements ComponentPrecomputedIndexes.
Definition at line 1865 of file nnet-general-component.cc.
References kaldi::WriteBasicType(), and kaldi::WriteToken().
Definition at line 978 of file nnet-general-component.h.
Referenced by GeneralDropoutComponent::Backprop(), GeneralDropoutComponent::PrecomputeIndexes(), and GeneralDropoutComponent::Propagate().
int32 num_mask_rows |
Definition at line 970 of file nnet-general-component.h.
Referenced by GeneralDropoutComponent::PrecomputeIndexes(), and GeneralDropoutComponent::Propagate().