File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
doc/fluid/new_docs/user_guides/howto/inference Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -4,13 +4,12 @@ Paddle 预测 API
4
4
为了更简单方便的预测部署,Fluid 提供了一套高层 API
5
5
用来隐藏底层不同的优化实现。
6
6
7
- `预测库相关代码 <https://github.com/PaddlePaddle/Paddle/tree/develop/paddle/contrib /inference >`__
7
+ `预测库相关代码 <https://github.com/PaddlePaddle/Paddle/tree/develop/paddle/fluid /inference/api >`_
8
8
包括
9
9
10
10
- 头文件 ``paddle_inference_api.h `` 定义了所有的接口
11
11
- 库文件\ ``libpaddle_fluid.so `` 或 ``libpaddle_fluid.a ``
12
- - 库文件 ``libpaddle_inference_api.so `` 或
13
- ``libpaddle_inference_api.a ``
12
+
14
13
15
14
编译和依赖可以参考 :ref: `install_or_build_cpp_inference_lib ` 。
16
15
97
96
CHECK(predictor->Run(slots, &outputs));
98
97
// 获取 outputs ...
99
98
100
- 编译时,联编 ``libpaddle_fluid.a/.so `` 和
101
- ``libpaddle_inference_api.a/.so `` 便可。
99
+ 编译时,联编 ``libpaddle_fluid.a/.so `` 便可。
102
100
103
101
详细代码参考
104
102
------------
You can’t perform that action at this time.
0 commit comments