Class AttentionFactory¶
Defined in File attention_constructors.h
Inheritance Relationships¶
Base Type¶
public marian::rnn::InputFactory
(Struct InputFactory)
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_
¶
-
Ptr<CellInput>