diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2017-11-29 18:48:41 +0300 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2017-11-29 18:48:41 +0300 |
commit | 2b3ff57e3a66fddcd3125005834dbe627373e39d (patch) | |
tree | a35e61f52409c44a93b0cf49db9085930da8dd42 /src/amun/cpu/decoder/best_hyps.h | |
parent | 0c1297bbb3393426925be74a7c15979415db2f3e (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.h | 6 |
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( |