Class SimPooler

Inheritance Relationships

Base Type

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()