encodes single input into output states More...
Public Types | |
typedef std::shared_ptr< Decoder > | ptr |
Public Member Functions | |
Decoder ()=default | |
virtual void | addToModel (nvinfer1::INetworkDefinition *network, nvinfer1::ITensor *inputData, nvinfer1::ITensor **inputStates, nvinfer1::ITensor **outputData, nvinfer1::ITensor **outputStates)=0 |
add the memory, cell, and hidden states to the network More... | |
virtual std::vector< nvinfer1::Dims > | getStateSizes ()=0 |
get the sizes (vector of them) of the hidden state vectors More... | |
~Decoder () override=default | |
virtual std::string | getInfo ()=0 |
get the textual description of the component More... | |
encodes single input into output states
typedef std::shared_ptr<Decoder> nmtSample::Decoder::ptr |
|
default |
|
overridedefault |
|
pure virtual |
add the memory, cell, and hidden states to the network
Implemented in nmtSample::LSTMDecoder.
|
pure virtual |
get the sizes (vector of them) of the hidden state vectors
Implemented in nmtSample::LSTMDecoder.
|
pure virtualinherited |
get the textual description of the component
Implemented in nmtSample::SoftmaxLikelihood, nmtSample::BeamSearchPolicy, nmtSample::MultiplicativeAlignment, nmtSample::SLPEmbedder, nmtSample::SLPProjection, nmtSample::BLEUScoreWriter, nmtSample::Context, nmtSample::LSTMEncoder, nmtSample::TextWriter, nmtSample::SLPAttention, nmtSample::BenchmarkWriter, nmtSample::TextReader, nmtSample::LSTMDecoder, and nmtSample::LimitedSamplesDataReader.