Class AttentionFactory

Inheritance Relationships

Base Type

Class Documentation

class AttentionFactory : public marian::rnn::InputFactory

Public Functions

Ptr<CellInput> construct(Ptr<ExpressionGraph> graph)
Accumulator<AttentionFactory> set_state(Ptr<EncoderState> state)
int dimAttended()

Protected Attributes

Ptr<EncoderState> state_