Class EncoderTransformer¶
Defined in File transformer.h
Inheritance Relationships¶
Base Type¶
public marian::Transformer< EncoderBase >
(Template Class Transformer)
Derived Type¶
public marian::BertEncoder
(Class BertEncoder)
Class Documentation¶
-
class
EncoderTransformer
: public marian::Transformer<EncoderBase>¶ Subclassed by marian::BertEncoder
Public Functions
-
EncoderTransformer
(Ptr<ExpressionGraph> graph, Ptr<Options> options)¶
-
virtual
~EncoderTransformer
()¶
-
virtual Ptr<EncoderState>
build
(Ptr<ExpressionGraph> graph, Ptr<data::CorpusBatch> batch)¶
-
Ptr<EncoderState>
apply
(Ptr<data::CorpusBatch> batch)¶
-
virtual void
clear
()¶
-