Function marian::Validators¶
Defined in File validator.cpp
Function Documentation¶
-
std::vector<Ptr<ValidatorBase>>
marian
::
Validators
(std::vector<Ptr<Vocab>> vocabs, Ptr<Options> config)¶ Creates validators from options.
If no validation metrics are specified in the options, a cross entropy validator is created by default.
- Return
Vector of validator objects
- Parameters
vocabs
: Source and target vocabulariesconfig
: Config options