From 0c23ba95d8a98681da0faf0bf851c97e18ca4191 Mon Sep 17 00:00:00 2001 From: Zhang Jun Date: Mon, 21 Dec 2020 11:31:15 +0800 Subject: [PATCH] enable MakeCiper api for inference;test=develop (#29692) --- paddle/fluid/inference/api/paddle_api.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/paddle/fluid/inference/api/paddle_api.h b/paddle/fluid/inference/api/paddle_api.h index 76ed45be8e6..55699a795f4 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 -- GitLab