Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Crayon鑫
Paddle
提交
84ab02b1
P
Paddle
项目概览
Crayon鑫
/
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看板
提交
84ab02b1
编写于
8月 28, 2017
作者:
T
Travis CI
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Deploy to GitHub Pages:
2e3f2af7
上级
2fed9927
变更
4
展开全部
隐藏空白更改
内联
并排
Showing
4 changed file
with
54 addition
and
10 deletion
+54
-10
develop/doc/api/v2/run_logic.html
develop/doc/api/v2/run_logic.html
+26
-4
develop/doc/searchindex.js
develop/doc/searchindex.js
+1
-1
develop/doc_cn/api/v2/run_logic.html
develop/doc_cn/api/v2/run_logic.html
+26
-4
develop/doc_cn/searchindex.js
develop/doc_cn/searchindex.js
+1
-1
未找到文件。
develop/doc/api/v2/run_logic.html
浏览文件 @
84ab02b1
...
...
@@ -192,9 +192,31 @@
<dl
class=
"class"
>
<dt>
<em
class=
"property"
>
class
</em><code
class=
"descclassname"
>
paddle.v2.parameters.
</code><code
class=
"descname"
>
Parameters
</code></dt>
<dd><p>
Parameters is a dictionary contains Paddle
’
s parameter. The key of
Parameters is the name of parameter. The value of Parameters is a plain
<code
class=
"code docutils literal"
><span
class=
"pre"
>
numpy.ndarry
</span></code>
.
</p>
<dd><p><cite>
Parameters
</cite>
manages all the learnable parameters in a neural network.
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.
</p>
<table
class=
"docutils field-list"
frame=
"void"
rules=
"none"
>
<col
class=
"field-name"
/>
<col
class=
"field-body"
/>
<tbody
valign=
"top"
>
<tr
class=
"field-odd field"
><th
class=
"field-name"
>
Parameters:
</th><td
class=
"field-body"
><ul
class=
"first last simple"
>
<li><strong>
__param_conf__
</strong>
(
<em>
OrderedDict
</em>
)
–
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.
</li>
<li><strong>
__gradient_machines__
</strong>
(
<em>
list
</em>
)
–
all of the parameters in a neural network are
appended to a PaddlePaddle gradient machine, which is used internally to
copy parameter values between C++ and Python end.
</li>
<li><strong>
__tmp_params__
</strong>
(
<em>
dict
</em>
)
–
a dict to store dummy parameters if no
__gradient_machines__ is appended to
<cite>
Parameters
</cite>
.
</li>
</ul>
</td>
</tr>
</tbody>
</table>
<p>
Basically usage is
</p>
<div
class=
"highlight-python"
><div
class=
"highlight"
><pre><span></span><span
class=
"n"
>
data
</span>
<span
class=
"o"
>
=
</span>
<span
class=
"n"
>
paddle
</span><span
class=
"o"
>
.
</span><span
class=
"n"
>
layers
</span><span
class=
"o"
>
.
</span><span
class=
"n"
>
data
</span><span
class=
"p"
>
(
</span><span
class=
"o"
>
...
</span><span
class=
"p"
>
)
</span>
<span
class=
"o"
>
...
</span>
...
...
@@ -343,7 +365,7 @@ Trainer.train.</p>
<col
class=
"field-name"
/>
<col
class=
"field-body"
/>
<tbody
valign=
"top"
>
<tr
class=
"field-odd field"
><th
class=
"field-name"
>
Parameters:
</th><td
class=
"field-body"
><strong>
gradient_machine
</strong>
(
<em>
api.GradientMachine
</em>
)
–
Paddle C++ GradientMachine object.
</td>
<tr
class=
"field-odd field"
><th
class=
"field-name"
>
Parameters:
</th><td
class=
"field-body"
><strong>
gradient_machine
</strong>
(
<em>
api.GradientMachine
</em>
)
–
Paddle
Paddle
C++ GradientMachine object.
</td>
</tr>
<tr
class=
"field-even field"
><th
class=
"field-name"
>
Returns:
</th><td
class=
"field-body"
></td>
</tr>
...
...
develop/doc/searchindex.js
浏览文件 @
84ab02b1
因为 它太大了无法显示 source diff 。你可以改为
查看blob
。
develop/doc_cn/api/v2/run_logic.html
浏览文件 @
84ab02b1
...
...
@@ -197,9 +197,31 @@
<dl
class=
"class"
>
<dt>
<em
class=
"property"
>
class
</em><code
class=
"descclassname"
>
paddle.v2.parameters.
</code><code
class=
"descname"
>
Parameters
</code></dt>
<dd><p>
Parameters is a dictionary contains Paddle
’
s parameter. The key of
Parameters is the name of parameter. The value of Parameters is a plain
<code
class=
"code docutils literal"
><span
class=
"pre"
>
numpy.ndarry
</span></code>
.
</p>
<dd><p><cite>
Parameters
</cite>
manages all the learnable parameters in a neural network.
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.
</p>
<table
class=
"docutils field-list"
frame=
"void"
rules=
"none"
>
<col
class=
"field-name"
/>
<col
class=
"field-body"
/>
<tbody
valign=
"top"
>
<tr
class=
"field-odd field"
><th
class=
"field-name"
>
参数:
</th><td
class=
"field-body"
><ul
class=
"first last simple"
>
<li><strong>
__param_conf__
</strong>
(
<em>
OrderedDict
</em>
)
–
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.
</li>
<li><strong>
__gradient_machines__
</strong>
(
<em>
list
</em>
)
–
all of the parameters in a neural network are
appended to a PaddlePaddle gradient machine, which is used internally to
copy parameter values between C++ and Python end.
</li>
<li><strong>
__tmp_params__
</strong>
(
<em>
dict
</em>
)
–
a dict to store dummy parameters if no
__gradient_machines__ is appended to
<cite>
Parameters
</cite>
.
</li>
</ul>
</td>
</tr>
</tbody>
</table>
<p>
Basically usage is
</p>
<div
class=
"highlight-python"
><div
class=
"highlight"
><pre><span></span><span
class=
"n"
>
data
</span>
<span
class=
"o"
>
=
</span>
<span
class=
"n"
>
paddle
</span><span
class=
"o"
>
.
</span><span
class=
"n"
>
layers
</span><span
class=
"o"
>
.
</span><span
class=
"n"
>
data
</span><span
class=
"p"
>
(
</span><span
class=
"o"
>
...
</span><span
class=
"p"
>
)
</span>
<span
class=
"o"
>
...
</span>
...
...
@@ -348,7 +370,7 @@ Trainer.train.</p>
<col
class=
"field-name"
/>
<col
class=
"field-body"
/>
<tbody
valign=
"top"
>
<tr
class=
"field-odd field"
><th
class=
"field-name"
>
参数:
</th><td
class=
"field-body"
><strong>
gradient_machine
</strong>
(
<em>
api.GradientMachine
</em>
)
–
Paddle C++ GradientMachine object.
</td>
<tr
class=
"field-odd field"
><th
class=
"field-name"
>
参数:
</th><td
class=
"field-body"
><strong>
gradient_machine
</strong>
(
<em>
api.GradientMachine
</em>
)
–
Paddle
Paddle
C++ GradientMachine object.
</td>
</tr>
<tr
class=
"field-even field"
><th
class=
"field-name"
>
返回:
</th><td
class=
"field-body"
></td>
</tr>
...
...
develop/doc_cn/searchindex.js
浏览文件 @
84ab02b1
此差异已折叠。
点击以展开。
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录