Class DecoderTransformer

Inheritance Relationships

Base Type

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)
virtual const std::vector<Expr> getAlignments(int = 0)
void clear()