diff --git a/paddle/fluid/inference/api/api_anakin_engine.cc b/paddle/fluid/inference/api/api_anakin_engine.cc index 2c4894fd887f2f509dc7ab88c367cea5c1aed99a..812e3ef130198d1f592a61b6c8d20f7d819679e6 100644 --- a/paddle/fluid/inference/api/api_anakin_engine.cc +++ b/paddle/fluid/inference/api/api_anakin_engine.cc @@ -228,6 +228,12 @@ CreatePaddlePredictor( } } +template <> +std::unique_ptr CreatePaddlePredictor( + const contrib::AnakinConfig &config) { + return CreatePaddlePredictor(config); +}; + #ifdef PADDLE_ANAKIN_ENABLE_OP_TIMER template using executor_t =