Class EncoderPooler¶
Defined in File encoder_pooler.h
Inheritance Relationships¶
Base Type¶
public marian::EncoderPoolerBase
(Class EncoderPoolerBase)
Class Documentation¶
-
class
EncoderPooler
: public marian::EncoderPoolerBase¶ -
Public Functions
-
std::vector<Ptr<EncoderBase>> &
getEncoders
()¶
-
std::vector<Ptr<PoolerBase>> &
getPoolers
()¶
-
void
push_back
(Ptr<EncoderBase> encoder)¶
-
void
push_back
(Ptr<PoolerBase> pooler)¶
-
void
load
(Ptr<ExpressionGraph> graph, const std::string &name, bool markedReloaded)¶
-
void
mmap
(Ptr<ExpressionGraph> graph, const void *ptr, bool markedReloaded)¶
-
void
save
(Ptr<ExpressionGraph> graph, const std::string &name, bool)¶
-
void
clear
(Ptr<ExpressionGraph> graph)¶
-
virtual std::vector<Expr>
apply
(Ptr<ExpressionGraph> graph, Ptr<data::CorpusBatch> batch, bool clearGraph)¶
Protected Functions
-
std::vector<Ptr<EncoderBase>> &