Class SimPooler¶
Defined in File pooler.h
Inheritance Relationships¶
Base Type¶
public marian::PoolerBase
(Class PoolerBase)
Class Documentation¶
-
class
SimPooler
: public marian::PoolerBase¶ Not really a pooler but abusing the interface to compute a similarity of two pooled states.
Public Functions
-
SimPooler
(Ptr<ExpressionGraph> graph, Ptr<Options> options)¶
-
std::vector<Expr>
apply
(Ptr<ExpressionGraph> graph, Ptr<data::CorpusBatch> batch, const std::vector<Ptr<EncoderState>> &encoderStates)¶
-
void
clear
()¶
-