Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/marian-nmt/marian.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHieu Hoang <hieuhoang@gmail.com>2017-11-29 18:48:41 +0300
committerHieu Hoang <hieuhoang@gmail.com>2017-11-29 18:48:41 +0300
commit2b3ff57e3a66fddcd3125005834dbe627373e39d (patch)
treea35e61f52409c44a93b0cf49db9085930da8dd42 /src/amun/cpu/decoder/best_hyps.h
parent0c1297bbb3393426925be74a7c15979415db2f3e (diff)
move constructor into .cu. Simplify arguments - get everything from god by yourself
Diffstat (limited to 'src/amun/cpu/decoder/best_hyps.h')
-rw-r--r--src/amun/cpu/decoder/best_hyps.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/amun/cpu/decoder/best_hyps.h b/src/amun/cpu/decoder/best_hyps.h
index 3951220d..8b899cb4 100644
--- a/src/amun/cpu/decoder/best_hyps.h
+++ b/src/amun/cpu/decoder/best_hyps.h
@@ -26,11 +26,7 @@ class BestHyps : public BestHypsBase
{
public:
BestHyps(const God &god)
- : BestHypsBase(god,
- !god.Get<bool>("allow-unk"),
- god.Get<std::vector<std::string>>("softmax-filter").size(),
- god.Get<bool>("return-alignment") || god.Get<bool>("return-soft-alignment") || god.Get<bool>("return-nematus-alignment"),
- god.GetScorerWeights())
+ : BestHypsBase(god)
{}
void CalcBeam(