diff --git a/paddle/fluid/inference/api/paddle_api.h b/paddle/fluid/inference/api/paddle_api.h index 76ed45be8e6ff8d1c01b623d8e553946a2eb434b..55699a795f493fe6705e267cdca5e694624f1721 100644 --- a/paddle/fluid/inference/api/paddle_api.h +++ b/paddle/fluid/inference/api/paddle_api.h @@ -450,4 +450,9 @@ PD_INFER_DECL std::string get_version(); PD_INFER_DECL std::string UpdateDllFlag(const char* name, const char* value); +#ifdef PADDLE_ON_INFERENCE +PD_INFER_DECL std::shared_ptr MakeCipher( + const std::string& config_file); +#endif + } // namespace paddle