Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
Paddle
提交
3662de80
P
Paddle
项目概览
PaddlePaddle
/
Paddle
接近 2 年 前同步成功
通知
2323
Star
20933
Fork
5424
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1423
列表
看板
标记
里程碑
合并请求
543
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
Paddle
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1,423
Issue
1,423
列表
看板
标记
里程碑
合并请求
543
合并请求
543
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
3662de80
编写于
10月 24, 2016
作者:
T
Travis CI
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Deploy to GitHub Pages:
ac383dd0
上级
3c86808e
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
14 addition
and
0 deletion
+14
-0
doc/ui/api/trainer_config_helpers/layers.html
doc/ui/api/trainer_config_helpers/layers.html
+14
-0
未找到文件。
doc/ui/api/trainer_config_helpers/layers.html
浏览文件 @
3662de80
...
@@ -355,6 +355,7 @@ the right size (which is the end of array) to the left.</li>
...
@@ -355,6 +355,7 @@ the right size (which is the end of array) to the left.</li>
<li><strong>
name
</strong>
(
<em>
basestring
</em>
)
–
layer name
</li>
<li><strong>
name
</strong>
(
<em>
basestring
</em>
)
–
layer name
</li>
<li><strong>
a
</strong>
(
<em>
LayerOutput
</em>
)
–
Input layer a.
</li>
<li><strong>
a
</strong>
(
<em>
LayerOutput
</em>
)
–
Input layer a.
</li>
<li><strong>
b
</strong>
(
<em>
LayerOutput
</em>
)
–
input layer b
</li>
<li><strong>
b
</strong>
(
<em>
LayerOutput
</em>
)
–
input layer b
</li>
<li><strong>
layer_attr
</strong>
(
<a
class=
"reference internal"
href=
"attrs.html#paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"
title=
"paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"
><em>
ExtraLayerAttribute
</em></a>
)
–
layer
’
s extra attribute.
</li>
</ul>
</ul>
</td>
</td>
</tr>
</tr>
...
@@ -1640,6 +1641,7 @@ convolution neural network, and before recurrent neural network.</p>
...
@@ -1640,6 +1641,7 @@ convolution neural network, and before recurrent neural network.</p>
<li><strong>
padding_x
</strong>
(
<em>
int
</em>
)
–
The padding size in horizontal direction.
</li>
<li><strong>
padding_x
</strong>
(
<em>
int
</em>
)
–
The padding size in horizontal direction.
</li>
<li><strong>
padding_y
</strong>
(
<em>
int
</em>
)
–
The padding size in vertical direction.
</li>
<li><strong>
padding_y
</strong>
(
<em>
int
</em>
)
–
The padding size in vertical direction.
</li>
<li><strong>
name
</strong>
(
<em>
None|basestring.
</em>
)
–
The name of this layer, which can not specify.
</li>
<li><strong>
name
</strong>
(
<em>
None|basestring.
</em>
)
–
The name of this layer, which can not specify.
</li>
<li><strong>
layer_attr
</strong>
(
<em>
ExtraLayerAttribute|None
</em>
)
–
Extra Layer config.
</li>
</ul>
</ul>
</td>
</td>
</tr>
</tr>
...
@@ -1798,6 +1800,7 @@ processed in one batch.</p>
...
@@ -1798,6 +1800,7 @@ processed in one batch.</p>
<li><strong>
vectors
</strong>
(
<em>
LayerOutput
</em>
)
–
The vector layer.
</li>
<li><strong>
vectors
</strong>
(
<em>
LayerOutput
</em>
)
–
The vector layer.
</li>
<li><strong>
size
</strong>
(
<em>
int
</em>
)
–
the dimension of this layer.
</li>
<li><strong>
size
</strong>
(
<em>
int
</em>
)
–
the dimension of this layer.
</li>
<li><strong>
name
</strong>
(
<em>
basestring
</em>
)
–
The Layer Name.
</li>
<li><strong>
name
</strong>
(
<em>
basestring
</em>
)
–
The Layer Name.
</li>
<li><strong>
layer_attr
</strong>
(
<em>
ExtraLayerAttribute|None
</em>
)
–
Extra Layer config.
</li>
</ul>
</ul>
</td>
</td>
</tr>
</tr>
...
@@ -1950,6 +1953,7 @@ element-wise. There is no activation and weight.</p>
...
@@ -1950,6 +1953,7 @@ element-wise. There is no activation and weight.</p>
<li><strong>
name
</strong>
(
<em>
basestring
</em>
)
–
The Layer Name.
</li>
<li><strong>
name
</strong>
(
<em>
basestring
</em>
)
–
The Layer Name.
</li>
<li><strong>
slope
</strong>
(
<em>
float.
</em>
)
–
the scale factor.
</li>
<li><strong>
slope
</strong>
(
<em>
float.
</em>
)
–
the scale factor.
</li>
<li><strong>
intercept
</strong>
(
<em>
float.
</em>
)
–
the offset.
</li>
<li><strong>
intercept
</strong>
(
<em>
float.
</em>
)
–
the offset.
</li>
<li><strong>
layer_attr
</strong>
(
<em>
ExtraLayerAttribute|None
</em>
)
–
Extra Layer config.
</li>
</ul>
</ul>
</td>
</td>
</tr>
</tr>
...
@@ -2145,6 +2149,7 @@ Sampling one id for one sample.</p>
...
@@ -2145,6 +2149,7 @@ Sampling one id for one sample.</p>
<tr
class=
"field-odd field"
><th
class=
"field-name"
>
Parameters:
</th><td
class=
"field-body"
><ul
class=
"first simple"
>
<tr
class=
"field-odd field"
><th
class=
"field-name"
>
Parameters:
</th><td
class=
"field-body"
><ul
class=
"first simple"
>
<li><strong>
input
</strong>
(
<em>
LayerOutput
</em>
)
–
The input layer.
</li>
<li><strong>
input
</strong>
(
<em>
LayerOutput
</em>
)
–
The input layer.
</li>
<li><strong>
name
</strong>
(
<em>
basestring
</em>
)
–
The Layer Name.
</li>
<li><strong>
name
</strong>
(
<em>
basestring
</em>
)
–
The Layer Name.
</li>
<li><strong>
layer_attr
</strong>
(
<em>
ExtraLayerAttribute|None
</em>
)
–
Extra Layer config.
</li>
</ul>
</ul>
</td>
</td>
</tr>
</tr>
...
@@ -2181,6 +2186,7 @@ Sampling one id for one sample.</p>
...
@@ -2181,6 +2186,7 @@ Sampling one id for one sample.</p>
<li><strong>
type
</strong>
(
<em>
basestring.
</em>
)
–
The type of cost.
</li>
<li><strong>
type
</strong>
(
<em>
basestring.
</em>
)
–
The type of cost.
</li>
<li><strong>
name
</strong>
(
<em>
None|basestring.
</em>
)
–
The name of this layers. It is not necessary.
</li>
<li><strong>
name
</strong>
(
<em>
None|basestring.
</em>
)
–
The name of this layers. It is not necessary.
</li>
<li><strong>
coeff
</strong>
(
<em>
float.
</em>
)
–
The coefficient affects the gradient in the backward.
</li>
<li><strong>
coeff
</strong>
(
<em>
float.
</em>
)
–
The coefficient affects the gradient in the backward.
</li>
<li><strong>
layer_attr
</strong>
(
<a
class=
"reference internal"
href=
"attrs.html#paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"
title=
"paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"
><em>
ExtraLayerAttribute
</em></a>
)
–
Extra Layer Attribute.
</li>
</ul>
</ul>
</td>
</td>
</tr>
</tr>
...
@@ -2215,6 +2221,7 @@ Sampling one id for one sample.</p>
...
@@ -2215,6 +2221,7 @@ Sampling one id for one sample.</p>
<li><strong>
name
</strong>
(
<em>
None|basestring.
</em>
)
–
The name of this layers. It is not necessary.
</li>
<li><strong>
name
</strong>
(
<em>
None|basestring.
</em>
)
–
The name of this layers. It is not necessary.
</li>
<li><strong>
coeff
</strong>
(
<em>
float.
</em>
)
–
The coefficient affects the gradient in the backward.
</li>
<li><strong>
coeff
</strong>
(
<em>
float.
</em>
)
–
The coefficient affects the gradient in the backward.
</li>
<li><strong>
softmax_selfnorm_alpha
</strong>
(
<em>
float.
</em>
)
–
The scale factor affects the cost.
</li>
<li><strong>
softmax_selfnorm_alpha
</strong>
(
<em>
float.
</em>
)
–
The scale factor affects the cost.
</li>
<li><strong>
layer_attr
</strong>
(
<a
class=
"reference internal"
href=
"attrs.html#paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"
title=
"paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"
><em>
ExtraLayerAttribute
</em></a>
)
–
Extra Layer Attribute.
</li>
</ul>
</ul>
</td>
</td>
</tr>
</tr>
...
@@ -2248,6 +2255,7 @@ Sampling one id for one sample.</p>
...
@@ -2248,6 +2255,7 @@ Sampling one id for one sample.</p>
<li><strong>
type
</strong>
(
<em>
basestring
</em>
)
–
The type of cost.
</li>
<li><strong>
type
</strong>
(
<em>
basestring
</em>
)
–
The type of cost.
</li>
<li><strong>
name
</strong>
(
<em>
None|basestring
</em>
)
–
The name of this layers. It is not necessary.
</li>
<li><strong>
name
</strong>
(
<em>
None|basestring
</em>
)
–
The name of this layers. It is not necessary.
</li>
<li><strong>
coeff
</strong>
(
<em>
float
</em>
)
–
The coefficient affects the gradient in the backward.
</li>
<li><strong>
coeff
</strong>
(
<em>
float
</em>
)
–
The coefficient affects the gradient in the backward.
</li>
<li><strong>
layer_attr
</strong>
(
<a
class=
"reference internal"
href=
"attrs.html#paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"
title=
"paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"
><em>
ExtraLayerAttribute
</em></a>
)
–
Extra Layer Attribute.
</li>
</ul>
</ul>
</td>
</td>
</tr>
</tr>
...
@@ -2280,6 +2288,7 @@ Sampling one id for one sample.</p>
...
@@ -2280,6 +2288,7 @@ Sampling one id for one sample.</p>
<li><strong>
label
</strong>
–
The input label.
</li>
<li><strong>
label
</strong>
–
The input label.
</li>
<li><strong>
name
</strong>
(
<em>
None|basestring.
</em>
)
–
The name of this layers. It is not necessary.
</li>
<li><strong>
name
</strong>
(
<em>
None|basestring.
</em>
)
–
The name of this layers. It is not necessary.
</li>
<li><strong>
coeff
</strong>
(
<em>
float.
</em>
)
–
The coefficient affects the gradient in the backward.
</li>
<li><strong>
coeff
</strong>
(
<em>
float.
</em>
)
–
The coefficient affects the gradient in the backward.
</li>
<li><strong>
layer_attr
</strong>
(
<a
class=
"reference internal"
href=
"attrs.html#paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"
title=
"paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"
><em>
ExtraLayerAttribute
</em></a>
)
–
Extra Layer Attribute.
</li>
</ul>
</ul>
</td>
</td>
</tr>
</tr>
...
@@ -2325,6 +2334,7 @@ equal to NDCG_num. And if max_sort_size is greater
...
@@ -2325,6 +2334,7 @@ equal to NDCG_num. And if max_sort_size is greater
than the size of a list, the algorithm will sort the
than the size of a list, the algorithm will sort the
entire list of get gradient.
</li>
entire list of get gradient.
</li>
<li><strong>
name
</strong>
(
<em>
None|basestring
</em>
)
–
The name of this layers. It is not necessary.
</li>
<li><strong>
name
</strong>
(
<em>
None|basestring
</em>
)
–
The name of this layers. It is not necessary.
</li>
<li><strong>
layer_attr
</strong>
(
<a
class=
"reference internal"
href=
"attrs.html#paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"
title=
"paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"
><em>
ExtraLayerAttribute
</em></a>
)
–
Extra Layer Attribute.
</li>
</ul>
</ul>
</td>
</td>
</tr>
</tr>
...
@@ -2379,6 +2389,7 @@ Their dimension is one.</li>
...
@@ -2379,6 +2389,7 @@ Their dimension is one.</li>
It is an optional argument.
</li>
It is an optional argument.
</li>
<li><strong>
name
</strong>
(
<em>
None|basestring
</em>
)
–
The name of this layers. It is not necessary.
</li>
<li><strong>
name
</strong>
(
<em>
None|basestring
</em>
)
–
The name of this layers. It is not necessary.
</li>
<li><strong>
coeff
</strong>
(
<em>
float
</em>
)
–
The coefficient affects the gradient in the backward.
</li>
<li><strong>
coeff
</strong>
(
<em>
float
</em>
)
–
The coefficient affects the gradient in the backward.
</li>
<li><strong>
layer_attr
</strong>
(
<a
class=
"reference internal"
href=
"attrs.html#paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"
title=
"paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"
><em>
ExtraLayerAttribute
</em></a>
)
–
Extra Layer Attribute.
</li>
</ul>
</ul>
</td>
</td>
</tr>
</tr>
...
@@ -2418,6 +2429,7 @@ field model.</p>
...
@@ -2418,6 +2429,7 @@ field model.</p>
optional argument.
</li>
optional argument.
</li>
<li><strong>
param_attr
</strong>
(
<a
class=
"reference internal"
href=
"attrs.html#paddle.trainer_config_helpers.attrs.ParameterAttribute"
title=
"paddle.trainer_config_helpers.attrs.ParameterAttribute"
><em>
ParameterAttribute
</em></a>
)
–
Parameter attribute. None means default attribute
</li>
<li><strong>
param_attr
</strong>
(
<a
class=
"reference internal"
href=
"attrs.html#paddle.trainer_config_helpers.attrs.ParameterAttribute"
title=
"paddle.trainer_config_helpers.attrs.ParameterAttribute"
><em>
ParameterAttribute
</em></a>
)
–
Parameter attribute. None means default attribute
</li>
<li><strong>
name
</strong>
(
<em>
None|basestring
</em>
)
–
The name of this layers. It is not necessary.
</li>
<li><strong>
name
</strong>
(
<em>
None|basestring
</em>
)
–
The name of this layers. It is not necessary.
</li>
<li><strong>
layer_attr
</strong>
(
<em>
ExtraLayerAttribute|None
</em>
)
–
Extra Layer config.
</li>
</ul>
</ul>
</td>
</td>
</tr>
</tr>
...
@@ -2452,6 +2464,7 @@ decoding or 0 for correct decoding.</p>
...
@@ -2452,6 +2464,7 @@ decoding or 0 for correct decoding.</p>
<li><strong>
label
</strong>
(
<em>
LayerOutput or None
</em>
)
–
None or ground-truth label.
</li>
<li><strong>
label
</strong>
(
<em>
LayerOutput or None
</em>
)
–
None or ground-truth label.
</li>
<li><strong>
param_attr
</strong>
(
<a
class=
"reference internal"
href=
"attrs.html#paddle.trainer_config_helpers.attrs.ParameterAttribute"
title=
"paddle.trainer_config_helpers.attrs.ParameterAttribute"
><em>
ParameterAttribute
</em></a>
)
–
Parameter attribute. None means default attribute
</li>
<li><strong>
param_attr
</strong>
(
<a
class=
"reference internal"
href=
"attrs.html#paddle.trainer_config_helpers.attrs.ParameterAttribute"
title=
"paddle.trainer_config_helpers.attrs.ParameterAttribute"
><em>
ParameterAttribute
</em></a>
)
–
Parameter attribute. None means default attribute
</li>
<li><strong>
name
</strong>
(
<em>
None|basestring
</em>
)
–
The name of this layers. It is not necessary.
</li>
<li><strong>
name
</strong>
(
<em>
None|basestring
</em>
)
–
The name of this layers. It is not necessary.
</li>
<li><strong>
layer_attr
</strong>
(
<em>
ExtraLayerAttribute|None
</em>
)
–
Extra Layer config.
</li>
</ul>
</ul>
</td>
</td>
</tr>
</tr>
...
@@ -2502,6 +2515,7 @@ should also be num_classes + 1.</p>
...
@@ -2502,6 +2515,7 @@ should also be num_classes + 1.</p>
<li><strong>
size
</strong>
(
<em>
int
</em>
)
–
category numbers + 1.
</li>
<li><strong>
size
</strong>
(
<em>
int
</em>
)
–
category numbers + 1.
</li>
<li><strong>
name
</strong>
(
<em>
basestring|None
</em>
)
–
The name of this layer
</li>
<li><strong>
name
</strong>
(
<em>
basestring|None
</em>
)
–
The name of this layer
</li>
<li><strong>
norm_by_times
</strong>
(
<em>
bool
</em>
)
–
Whether to normalization by times. False by default.
</li>
<li><strong>
norm_by_times
</strong>
(
<em>
bool
</em>
)
–
Whether to normalization by times. False by default.
</li>
<li><strong>
layer_attr
</strong>
(
<em>
ExtraLayerAttribute|None
</em>
)
–
Extra Layer config.
</li>
</ul>
</ul>
</td>
</td>
</tr>
</tr>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录