File tree Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change 4
4
.. toctree ::
5
5
:maxdepth: 1
6
6
7
+ quick_start.md
7
8
compile_paddle_lib_cn.md
8
9
organization_of_the_inputs_cn.md
9
10
workflow_of_capi_cn.md
Original file line number Diff line number Diff line change
1
+ ## 开始使用
2
+
3
+ ### 概述
4
+ 当我们训练完一个神经网络模型之后,下一步就是用模型来做预测。预测就是准备输入数据,经过模型处理之后,得到预测结果的过程。
5
+
6
+ 相比于模型训练,预测有如下特点:
7
+
8
+ 1 . 预测不需要训练过程中反向传播和参数更新的部分。
9
+ 1 . 预测不需要标签(label)。
10
+ 1 . 预测很多时候需要和用户系统整合在一起。
11
+
12
+ 因为上述特点,模型预测SDK需要单独设计,并具备以下特点:
13
+
14
+ 1 . 预测SDK不包含反向传播和参数更新部分,以减小SDK的体积。
15
+ 1 . 预测SDK需要提供一个简洁的用户接口,方便使用。
16
+ 1 . 因为输入数据可能有多种结构,对输入数据的格式做清晰简洁的封装。
17
+ 1 . 为了和用户系统兼容,SDK的接口需要是满足C标准的接口。
18
+
19
+ PaddlePaddle提供了C-API,用于解决上述问题。关于C-API的使用,我们提供了如下指南:
20
+
21
+ 1 . [ C-API使用流程] ( ./workflow_of_capi_cn.md )
22
+ 1 . [ 安装与编译C-API预测库] ( ./compile_paddle_lib_cn.md )
23
+ 1 . [ 输入/输出数据组织] ( ./organization_of_the_inputs_cn.md )
You can’t perform that action at this time.
0 commit comments