From d9b4d3870b4754751a99aa82b6d89c77f7341e4c Mon Sep 17 00:00:00 2001 From: DannyIsFunny <912790387@qq.com> Date: Mon, 9 Mar 2020 07:13:07 +0000 Subject: [PATCH] test=develop --- lite/api/paddle_api.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/lite/api/paddle_api.cc b/lite/api/paddle_api.cc index 1dd546df3e..1296deeac6 100644 --- a/lite/api/paddle_api.cc +++ b/lite/api/paddle_api.cc @@ -169,6 +169,7 @@ void Tensor::SetLoD(const lod_t &lod) { tensor(raw_tensor_)->set_lod(lod); } std::unique_ptr GetMutableTensor(const std::string &name) { LOG(FATAL) << "The GetMutableTensor API is only supported by CxxConfig predictor."; + return nullptr; } void PaddlePredictor::SaveOptimizedModel(const std::string &model_dir, -- GitLab