Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
机器未来
Paddle
提交
c270361d
P
Paddle
项目概览
机器未来
/
Paddle
与 Fork 源项目一致
Fork自
PaddlePaddle / Paddle
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
Paddle
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
c270361d
编写于
9月 30, 2016
作者:
T
Travis CI
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Deploy to GitHub Pages:
12b61934
上级
6d74d08d
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
91 addition
and
23 deletion
+91
-23
doc/_sources/build/build_from_source.txt
doc/_sources/build/build_from_source.txt
+45
-11
doc/build/build_from_source.html
doc/build/build_from_source.html
+45
-11
doc/searchindex.js
doc/searchindex.js
+1
-1
未找到文件。
doc/_sources/build/build_from_source.txt
浏览文件 @
c270361d
...
...
@@ -28,17 +28,51 @@ To compile the source code, your computer must be equipped with GCC >=4.6 or Cla
PaddlePaddle supports some build options. To enable it, first you need to install the related libraries.
| Optional | Description |
| -------------------- | :--------------------------------------------------------------------------- |
| **WITH_GPU** | Compile with GPU mode. |
| **WITH_DOUBLE** | Compile with double precision floating-point, default: single precision. |
| **WITH_GLOG** | Compile with glog. If not found, default: an internal log implementation. |
| **WITH_GFLAGS** | Compile with gflags. If not found, default: an internal flag implementation. |
| **WITH_TESTING** | Compile with gtest for PaddlePaddle's unit testing. |
| **WITH_DOC** | Compile to generate PaddlePaddle's docs, default: disabled (OFF). |
| **WITH_SWIG_PY** | Compile with python predict API, default: disabled (OFF). |
| **WITH_STYLE_CHECK** | Compile with code style check, default: enabled (ON). |
<style type="text/css">
.tg {border-collapse:collapse;border-spacing:0;border-color:#ccc;}
.tg td{font-family:Arial, sans-serif;font-size:14px;padding:10px 5px;border-style:solid;border-width:0px;overflow:hidden;word-break:normal;border-color:#ccc;color:#333;background-color:#fff;border-top-width:1px;border-bottom-width:1px;}
.tg th{font-family:Arial, sans-serif;font-size:14px;font-weight:normal;padding:10px 5px;border-style:solid;border-width:0px;overflow:hidden;word-break:normal;border-color:#ccc;color:#333;background-color:#f0f0f0;border-top-width:1px;border-bottom-width:1px;}
.tg .tg-yw4l{vertical-align:top}
.tg .tg-9hbo{font-weight:bold;vertical-align:top}
</style>
<table class="tg">
<tr>
<th class="tg-yw4l">Optional</th>
<th class="tg-yw4l">Description</th>
</tr>
<tr>
<td class="tg-9hbo">WITH_GPU</td>
<td class="tg-yw4l">Compile with GPU mode.</td>
</tr>
<tr>
<td class="tg-9hbo">WITH_DOUBLE</td>
<td class="tg-yw4l">Compile with double precision floating-point, default: single precision.</td>
</tr>
<tr>
<td class="tg-9hbo">WITH_GLOG</td>
<td class="tg-yw4l">Compile with glog. If not found, default: an internal log implementation.</td>
</tr>
<tr>
<td class="tg-9hbo">WITH_GFLAGS</td>
<td class="tg-yw4l">Compile with gflags. If not found, default: an internal flag implementation.</td>
</tr>
<tr>
<td class="tg-9hbo">WITH_TESTING</td>
<td class="tg-yw4l">Compile with gtest for PaddlePaddle's unit testing.</td>
</tr>
<tr>
<td class="tg-9hbo">WITH_DOC</td>
<td class="tg-yw4l">Compile to generate PaddlePaddle's docs, default: disabled (OFF)</td>
</tr>
<tr>
<td class="tg-9hbo">WITH_SWIG_PY</td>
<td class="tg-yw4l">Compile with python predict API, default: disabled (OFF).</td>
</tr>
<tr>
<td class="tg-9hbo">WITH_STYLE_CHECK</td>
<td class="tg-yw4l">Compile with code style check, default: enabled (ON).</td>
</tr>
</table>
**Note:**
- The GPU version works best with Cuda Toolkit 7.5 and cuDNN v5.
...
...
doc/build/build_from_source.html
浏览文件 @
c270361d
...
...
@@ -98,17 +98,51 @@ var _hmt = _hmt || [];
<div
class=
"section"
id=
"options"
>
<span
id=
"options"
></span><h3>
Options
<a
class=
"headerlink"
href=
"#options"
title=
"Permalink to this headline"
>
¶
</a></h3>
<p>
PaddlePaddle supports some build options. To enable it, first you need to install the related libraries.
</p>
<p>
| Optional | Description |
|
——————–
| :
—————————————————————————
|
|
<strong>
WITH_GPU
</strong>
| Compile with GPU mode. |
|
<strong>
WITH_DOUBLE
</strong>
| Compile with double precision floating-point, default: single precision. |
|
<strong>
WITH_GLOG
</strong>
| Compile with glog. If not found, default: an internal log implementation. |
|
<strong>
WITH_GFLAGS
</strong>
| Compile with gflags. If not found, default: an internal flag implementation. |
|
<strong>
WITH_TESTING
</strong>
| Compile with gtest for PaddlePaddle
’
s unit testing. |
|
<strong>
WITH_DOC
</strong>
| Compile to generate PaddlePaddle
’
s docs, default: disabled (OFF). |
|
<strong>
WITH_SWIG_PY
</strong>
| Compile with python predict API, default: disabled (OFF). |
|
<strong>
WITH_STYLE_CHECK
</strong>
| Compile with code style check, default: enabled (ON). |
</p>
<p><strong>
Note:
</strong></p>
<style
type=
"text/css"
>
.tg
{
border-collapse
:
collapse
;
border-spacing
:
0
;
border-color
:
#ccc
;}
.tg
td
{
font-family
:
Arial
,
sans-serif
;
font-size
:
14px
;
padding
:
10px
5px
;
border-style
:
solid
;
border-width
:
0px
;
overflow
:
hidden
;
word-break
:
normal
;
border-color
:
#ccc
;
color
:
#333
;
background-color
:
#fff
;
border-top-width
:
1px
;
border-bottom-width
:
1px
;}
.tg
th
{
font-family
:
Arial
,
sans-serif
;
font-size
:
14px
;
font-weight
:
normal
;
padding
:
10px
5px
;
border-style
:
solid
;
border-width
:
0px
;
overflow
:
hidden
;
word-break
:
normal
;
border-color
:
#ccc
;
color
:
#333
;
background-color
:
#f0f0f0
;
border-top-width
:
1px
;
border-bottom-width
:
1px
;}
.tg
.tg-yw4l
{
vertical-align
:
top
}
.tg
.tg-9hbo
{
font-weight
:
bold
;
vertical-align
:
top
}
</style>
<table
class=
"tg"
>
<tr>
<th
class=
"tg-yw4l"
>
Optional
</th>
<th
class=
"tg-yw4l"
>
Description
</th>
</tr>
<tr>
<td
class=
"tg-9hbo"
>
WITH_GPU
</td>
<td
class=
"tg-yw4l"
>
Compile with GPU mode.
</td>
</tr>
<tr>
<td
class=
"tg-9hbo"
>
WITH_DOUBLE
</td>
<td
class=
"tg-yw4l"
>
Compile with double precision floating-point, default: single precision.
</td>
</tr>
<tr>
<td
class=
"tg-9hbo"
>
WITH_GLOG
</td>
<td
class=
"tg-yw4l"
>
Compile with glog. If not found, default: an internal log implementation.
</td>
</tr>
<tr>
<td
class=
"tg-9hbo"
>
WITH_GFLAGS
</td>
<td
class=
"tg-yw4l"
>
Compile with gflags. If not found, default: an internal flag implementation.
</td>
</tr>
<tr>
<td
class=
"tg-9hbo"
>
WITH_TESTING
</td>
<td
class=
"tg-yw4l"
>
Compile with gtest for PaddlePaddle's unit testing.
</td>
</tr>
<tr>
<td
class=
"tg-9hbo"
>
WITH_DOC
</td>
<td
class=
"tg-yw4l"
>
Compile to generate PaddlePaddle's docs, default: disabled (OFF)
</td>
</tr>
<tr>
<td
class=
"tg-9hbo"
>
WITH_SWIG_PY
</td>
<td
class=
"tg-yw4l"
>
Compile with python predict API, default: disabled (OFF).
</td>
</tr>
<tr>
<td
class=
"tg-9hbo"
>
WITH_STYLE_CHECK
</td>
<td
class=
"tg-yw4l"
>
Compile with code style check, default: enabled (ON).
</td>
</tr>
</table><p><strong>
Note:
</strong></p>
<ul
class=
"simple"
>
<li>
The GPU version works best with Cuda Toolkit 7.5 and cuDNN v5.
</li>
<li>
Other versions like Cuda Toolkit 6.5, 7.0, 8.0 and cuDNN v2, v3, v4 are also supported.
</li>
...
...
doc/searchindex.js
浏览文件 @
c270361d
因为 它太大了无法显示 source diff 。你可以改为
查看blob
。
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录