Function marian::bergamot::app::decoder¶
Defined in File cli.h
Function Documentation¶
-
void
marian::bergamot::app
::
decoder
(Ptr<Options> options)¶ Application used to benchmark with marian-decoder from time-to-time.
The implementation in this repository follows a different route than marian-decoder and routinely needs to be checked that the speeds while operating similar to marian-decoder are not affected during the course of development.
Example usage: brt/speed-tests/test_wngt20_perf.sh.
Expected to be compatible with Translator[1] and marian-decoder[2].
Input: stdin, lines containing sentences, same as marian-decoder.
Output: to stdout, translations of the sentences supplied via stdin in corresponding lines
- Parameters
[in] options
: constructed from command-line supplied arguments