Class Scorer¶
Defined in File scorers.h
Inheritance Relationships¶
Derived Type¶
public marian::ScorerWrapper
(Class ScorerWrapper)
Class Documentation¶
-
class
Scorer
¶ Subclassed by marian::ScorerWrapper
Public Functions
-
virtual
~Scorer
()¶
-
float
getWeight
()¶
-
virtual void
clear
(Ptr<ExpressionGraph>) = 0¶
-
virtual Ptr<ScorerState>
startState
(Ptr<ExpressionGraph>, Ptr<data::CorpusBatch>) = 0¶
-
virtual Ptr<ScorerState>
step
(Ptr<ExpressionGraph>, Ptr<ScorerState>, const std::vector<IndexType>&, const Words&, const std::vector<IndexType> &batchIndices, int beamSize) = 0¶
-
virtual void
init
(Ptr<ExpressionGraph>)¶
-
virtual void
setShortlistGenerator
(Ptr<const data::ShortlistGenerator>)¶
-
virtual