提交 d9b4d387 编写于 作者: D DannyIsFunny

test=develop

上级 4bcd4c61
...@@ -169,6 +169,7 @@ void Tensor::SetLoD(const lod_t &lod) { tensor(raw_tensor_)->set_lod(lod); } ...@@ -169,6 +169,7 @@ void Tensor::SetLoD(const lod_t &lod) { tensor(raw_tensor_)->set_lod(lod); }
std::unique_ptr<Tensor> GetMutableTensor(const std::string &name) { std::unique_ptr<Tensor> GetMutableTensor(const std::string &name) {
LOG(FATAL) LOG(FATAL)
<< "The GetMutableTensor API is only supported by CxxConfig predictor."; << "The GetMutableTensor API is only supported by CxxConfig predictor.";
return nullptr;
} }
void PaddlePredictor::SaveOptimizedModel(const std::string &model_dir, void PaddlePredictor::SaveOptimizedModel(const std::string &model_dir,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册