Fix python bindings

This commit is contained in:
Roman Grundkiewicz 2017-08-19 12:11:49 +01:00
parent 4fcab606f6
commit 585c3f26f0
2 changed files with 2 additions and 2 deletions

View File

@ -11,11 +11,11 @@
using namespace marian;
Ptr<TranslateLoopMultiGPU<BeamSearch>> task;
Ptr<TranslateServiceMultiGPU<BeamSearch>> task;
void init(const std::string& argopts) {
auto options = New<Config>(argopts, ConfigMode::translating);
task = New<TranslateLoopMultiGPU<BeamSearch>>(options);
task = New<TranslateServiceMultiGPU<BeamSearch>>(options);
LOG(info)->info("Translator initialized");
}