mirror of
https://github.com/marian-nmt/marian.git
synced 2024-09-17 09:47:34 +03:00
fix condition
This commit is contained in:
parent
e448e9f9b8
commit
fedab0dc90
@ -90,9 +90,9 @@ public:
|
||||
virtual void init(Ptr<ExpressionGraph> graph) {
|
||||
graph->switchParams(getName());
|
||||
if(ptr_)
|
||||
encdec_->load(graph, fname_);
|
||||
else
|
||||
encdec_->mmap(graph, ptr_);
|
||||
else
|
||||
encdec_->load(graph, fname_);
|
||||
}
|
||||
|
||||
virtual void clear(Ptr<ExpressionGraph> graph) {
|
||||
|
Loading…
Reference in New Issue
Block a user