Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
wzpei9
Paddle
提交
f0b25c4c
P
Paddle
项目概览
wzpei9
/
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看板
体验新版 GitCode,发现更多精彩内容 >>
提交
f0b25c4c
编写于
8月 28, 2017
作者:
C
caoying03
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
follow comments to refine the comments.
上级
be4c0123
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
13 addition
and
14 deletion
+13
-14
python/paddle/v2/parameters.py
python/paddle/v2/parameters.py
+13
-14
未找到文件。
python/paddle/v2/parameters.py
浏览文件 @
f0b25c4c
...
...
@@ -44,21 +44,20 @@ def create(layers):
class
Parameters
(
object
):
"""
`Parameters` manages all the learnable parameters in a neural network.
It stores parameters' information in an OrderedDict, key of which is
the name of a parameter, and value related to a key is a parameter's
configuration, such as initialization mean and std, its size, whether it is
a static parameter, and so on.
:param __param_conf__: this member stores the configurations of learnable
parameters in a network in an OrderedDict. The parameters are added by
following their creation order in the neural network one by one:
parameters of the previous layers in a network are careted first.
When a user iterates over this dict, he can visit parameters in the
network from button to up.
It stores parameters' information in an OrderedDict. The key is
the name of a parameter, and value is a parameter's configuration(in
protobuf format), such as initialization mean and std, its size, whether it
is a static parameter, and so on.
:param __param_conf__: store the configurations of learnable parameters in
the network in an OrderedDict. Parameter is added one by one into the
dict by following their created order in the network: parameters of
the previous layers in a network are careted first. You can visit the
parameters from bottom to top by iterating over this dict.
:type __param_conf__: OrderedDict
:param __gradient_machines__: all of the parameters in a neural network are
appended to a Paddle
gradient machine, which is used internally to copy
the parameter values between the
C++ and Python end.
appended to a Paddle
Paddle gradient machine, which is used internally to
copy parameter values between
C++ and Python end.
:type __gradient_machines__: list
:param __tmp_params__: a dict to store dummy parameters if no
__gradient_machines__ is appended to `Parameters`.
...
...
@@ -271,7 +270,7 @@ class Parameters(object):
append gradient machine to parameters. This method is used internally in
Trainer.train.
:param gradient_machine: Paddle C++ GradientMachine object.
:param gradient_machine: Paddle
Paddle
C++ GradientMachine object.
:type gradient_machine: api.GradientMachine
:return:
"""
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录