Commit b5a809a0 authored by PanZezhong's avatar PanZezhong Committed by wooway777
Browse files

issue/143 fix add compile after model init

parent 2c925eb4
...@@ -30,6 +30,9 @@ InferEngine::InferEngine( ...@@ -30,6 +30,9 @@ InferEngine::InferEngine(
barrier_.get(), barrier_.get(),
enable_graph_compiling)); enable_graph_compiling));
} }
// Compile the model on all workers
this->compile();
} }
//------------------------------------------------------ //------------------------------------------------------
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment