Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
机器未来
Paddle
提交
2695d96f
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看板
提交
2695d96f
编写于
9月 04, 2017
作者:
Q
qiaolongfei
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
typo
上级
3b29da37
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
3 addition
and
3 deletion
+3
-3
doc/design/var_desc.md
doc/design/var_desc.md
+3
-3
未找到文件。
doc/design/var_desc.md
浏览文件 @
2695d96f
...
@@ -4,7 +4,7 @@ PaddlePaddle divides the description of neural network computation graph into tw
...
@@ -4,7 +4,7 @@ PaddlePaddle divides the description of neural network computation graph into tw
PaddlePaddle use proto message to describe compile time graph for
PaddlePaddle use proto message to describe compile time graph for
1.
Computation graph should be able to be saved to a file.
1.
Computation graph should be able to be saved to a file.
1.
In distributed tr
ianing,
graph will be serialized and send to multiple workers.
1.
In distributed tr
aining, the
graph will be serialized and send to multiple workers.
The computation graph is constructed by Data Node and Operation Node. The concept to represent them is in the table below.
The computation graph is constructed by Data Node and Operation Node. The concept to represent them is in the table below.
...
@@ -40,7 +40,7 @@ message LoDTensorDesc {
...
@@ -40,7 +40,7 @@ message LoDTensorDesc {
}
}
Type
data_type
=
1
;
Type
data_type
=
1
;
repeated
int
dims
=
2
;
// [UNK, 6
000] is saved as [-1, 600
0]
repeated
int
dims
=
2
;
// [UNK, 6
40, 480] is saved as [-1, 640, 48
0]
optional
int
lod_level
[
default
=
0
]
=
3
;
optional
int
lod_level
[
default
=
0
]
=
3
;
}
}
```
```
...
@@ -78,7 +78,7 @@ class Variable(object):
...
@@ -78,7 +78,7 @@ class Variable(object):
return
self
.
_var
.
data_type
()
return
self
.
_var
.
data_type
()
```
```
Then we can use this Variable to create a
n
fc layer in Python.
Then we can use this Variable to create a fc layer in Python.
```
python
```
python
import
paddle
as
pd
import
paddle
as
pd
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录