Class DecoderTransformer¶
Defined in File transformer.h
Inheritance Relationships¶
Base Type¶
public marian::Transformer< DecoderBase >
(Template Class Transformer)
Class Documentation¶
-
class
DecoderTransformer
: public marian::Transformer<DecoderBase>¶ Public Functions
-
DecoderTransformer
(Ptr<ExpressionGraph> graph, Ptr<Options> options)¶
-
virtual Ptr<DecoderState>
startState
(Ptr<ExpressionGraph> graph, Ptr<data::CorpusBatch> batch, std::vector<Ptr<EncoderState>> &encStates)¶
-
virtual Ptr<DecoderState>
step
(Ptr<ExpressionGraph> graph, Ptr<DecoderState> state)¶
-
Ptr<DecoderState>
step
(Ptr<DecoderState> state)¶
-
void
clear
()¶
-