未验证 提交 0c23ba95 编写于 作者: Z Zhang Jun 提交者: GitHub

enable MakeCiper api for inference;test=develop (#29692)

上级 7b2dc4e6
...@@ -450,4 +450,9 @@ PD_INFER_DECL std::string get_version(); ...@@ -450,4 +450,9 @@ PD_INFER_DECL std::string get_version();
PD_INFER_DECL std::string UpdateDllFlag(const char* name, const char* value); PD_INFER_DECL std::string UpdateDllFlag(const char* name, const char* value);
#ifdef PADDLE_ON_INFERENCE
PD_INFER_DECL std::shared_ptr<framework::Cipher> MakeCipher(
const std::string& config_file);
#endif
} // namespace paddle } // namespace paddle
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册