Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
Paddle
提交
aeac41d7
P
Paddle
项目概览
PaddlePaddle
/
Paddle
大约 1 年 前同步成功
通知
2299
Star
20931
Fork
5422
代码
文件
提交
分支
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看板
提交
aeac41d7
编写于
7月 05, 2017
作者:
T
Travis CI
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Deploy to GitHub Pages:
7f380c1b
上级
05219ffb
变更
4
展开全部
隐藏空白更改
内联
并排
Showing
4 changed file
with
20 addition
and
6 deletion
+20
-6
develop/doc/api/v2/config/layer.html
develop/doc/api/v2/config/layer.html
+9
-2
develop/doc/searchindex.js
develop/doc/searchindex.js
+1
-1
develop/doc_cn/api/v2/config/layer.html
develop/doc_cn/api/v2/config/layer.html
+9
-2
develop/doc_cn/searchindex.js
develop/doc_cn/searchindex.js
+1
-1
未找到文件。
develop/doc/api/v2/config/layer.html
浏览文件 @
aeac41d7
...
...
@@ -1858,6 +1858,12 @@ sequence of a nested sequence, <code class="code docutils literal"><span class="
<dt>
<em
class=
"property"
>
class
</em><code
class=
"descclassname"
>
paddle.v2.layer.
</code><code
class=
"descname"
>
pooling
</code></dt>
<dd><p>
Pooling layer for sequence inputs, not used for Image.
</p>
<p>
If stride
>
0, this layer slides a window whose size is determined by stride,
and return the pooling value of the window as the output. Thus, a long sequence
will be shorten.
</p>
<p>
The parameter stride specifies the intervals at which to apply the pooling
operation. Note that for sequence with sub-sequence, the default value
of stride is -1.
</p>
<p>
The example usage is:
</p>
<div
class=
"highlight-python"
><div
class=
"highlight"
><pre><span></span><span
class=
"n"
>
seq_pool
</span>
<span
class=
"o"
>
=
</span>
<span
class=
"n"
>
pooling
</span><span
class=
"p"
>
(
</span><span
class=
"nb"
>
input
</span><span
class=
"o"
>
=
</span><span
class=
"n"
>
layer
</span><span
class=
"p"
>
,
</span>
<span
class=
"n"
>
pooling_type
</span><span
class=
"o"
>
=
</span><span
class=
"n"
>
AvgPooling
</span><span
class=
"p"
>
(),
</span>
...
...
@@ -1875,6 +1881,7 @@ AggregateLevel.TO_SEQUENCE</li>
<li><strong>
input
</strong>
(
<em>
paddle.v2.config_base.Layer
</em>
)
–
input layer name.
</li>
<li><strong>
pooling_type
</strong>
(
<em>
BasePoolingType|None
</em>
)
–
Type of pooling, MaxPooling(default), AvgPooling,
SumPooling, SquareRootNPooling.
</li>
<li><strong>
stride
</strong>
(
<em>
Int
</em>
)
–
The step size between successive pooling regions.
</li>
<li><strong>
bias_attr
</strong>
(
<em>
paddle.v2.attr.ParameterAttribute|None|False
</em>
)
–
Bias parameter attribute. False if no bias.
</li>
<li><strong>
layer_attr
</strong>
(
<em>
paddle.v2.attr.ExtraAttributeNone
</em>
)
–
The Extra Attributes for layer, such as dropout.
</li>
</ul>
...
...
@@ -1913,7 +1920,7 @@ of stride is -1.</p>
<li><strong>
agg_level
</strong>
–
Aggregated level
</li>
<li><strong>
name
</strong>
(
<em>
basestring
</em>
)
–
Layer name.
</li>
<li><strong>
input
</strong>
(
<em>
paddle.v2.config_base.Layer
</em>
)
–
Input layer name.
</li>
<li><strong>
stride
</strong>
(
<em>
Int
</em>
)
–
window size
.
</li>
<li><strong>
stride
</strong>
(
<em>
Int
</em>
)
–
The step size between successive pooling regions
.
</li>
<li><strong>
layer_attr
</strong>
(
<em>
paddle.v2.attr.ExtraAttribute
</em>
)
–
extra layer attributes.
</li>
</ul>
</td>
...
...
@@ -1951,7 +1958,7 @@ of stride is -1.</p>
<li><strong>
agg_level
</strong>
–
aggregation level
</li>
<li><strong>
name
</strong>
(
<em>
basestring
</em>
)
–
Layer name.
</li>
<li><strong>
input
</strong>
(
<em>
paddle.v2.config_base.Layer
</em>
)
–
Input layer name.
</li>
<li><strong>
stride
</strong>
(
<em>
Int
</em>
)
–
window size
.
</li>
<li><strong>
stride
</strong>
(
<em>
Int
</em>
)
–
The step size between successive pooling regions
.
</li>
<li><strong>
layer_attr
</strong>
(
<em>
paddle.v2.attr.ExtraAttribute
</em>
)
–
extra layer attributes.
</li>
</ul>
</td>
...
...
develop/doc/searchindex.js
浏览文件 @
aeac41d7
因为 它太大了无法显示 source diff 。你可以改为
查看blob
。
develop/doc_cn/api/v2/config/layer.html
浏览文件 @
aeac41d7
...
...
@@ -1863,6 +1863,12 @@ sequence of a nested sequence, <code class="code docutils literal"><span class="
<dt>
<em
class=
"property"
>
class
</em><code
class=
"descclassname"
>
paddle.v2.layer.
</code><code
class=
"descname"
>
pooling
</code></dt>
<dd><p>
Pooling layer for sequence inputs, not used for Image.
</p>
<p>
If stride
>
0, this layer slides a window whose size is determined by stride,
and return the pooling value of the window as the output. Thus, a long sequence
will be shorten.
</p>
<p>
The parameter stride specifies the intervals at which to apply the pooling
operation. Note that for sequence with sub-sequence, the default value
of stride is -1.
</p>
<p>
The example usage is:
</p>
<div
class=
"highlight-python"
><div
class=
"highlight"
><pre><span></span><span
class=
"n"
>
seq_pool
</span>
<span
class=
"o"
>
=
</span>
<span
class=
"n"
>
pooling
</span><span
class=
"p"
>
(
</span><span
class=
"nb"
>
input
</span><span
class=
"o"
>
=
</span><span
class=
"n"
>
layer
</span><span
class=
"p"
>
,
</span>
<span
class=
"n"
>
pooling_type
</span><span
class=
"o"
>
=
</span><span
class=
"n"
>
AvgPooling
</span><span
class=
"p"
>
(),
</span>
...
...
@@ -1880,6 +1886,7 @@ AggregateLevel.TO_SEQUENCE</li>
<li><strong>
input
</strong>
(
<em>
paddle.v2.config_base.Layer
</em>
)
–
input layer name.
</li>
<li><strong>
pooling_type
</strong>
(
<em>
BasePoolingType|None
</em>
)
–
Type of pooling, MaxPooling(default), AvgPooling,
SumPooling, SquareRootNPooling.
</li>
<li><strong>
stride
</strong>
(
<em>
Int
</em>
)
–
The step size between successive pooling regions.
</li>
<li><strong>
bias_attr
</strong>
(
<em>
paddle.v2.attr.ParameterAttribute|None|False
</em>
)
–
Bias parameter attribute. False if no bias.
</li>
<li><strong>
layer_attr
</strong>
(
<em>
paddle.v2.attr.ExtraAttributeNone
</em>
)
–
The Extra Attributes for layer, such as dropout.
</li>
</ul>
...
...
@@ -1918,7 +1925,7 @@ of stride is -1.</p>
<li><strong>
agg_level
</strong>
–
Aggregated level
</li>
<li><strong>
name
</strong>
(
<em>
basestring
</em>
)
–
Layer name.
</li>
<li><strong>
input
</strong>
(
<em>
paddle.v2.config_base.Layer
</em>
)
–
Input layer name.
</li>
<li><strong>
stride
</strong>
(
<em>
Int
</em>
)
–
window size
.
</li>
<li><strong>
stride
</strong>
(
<em>
Int
</em>
)
–
The step size between successive pooling regions
.
</li>
<li><strong>
layer_attr
</strong>
(
<em>
paddle.v2.attr.ExtraAttribute
</em>
)
–
extra layer attributes.
</li>
</ul>
</td>
...
...
@@ -1956,7 +1963,7 @@ of stride is -1.</p>
<li><strong>
agg_level
</strong>
–
aggregation level
</li>
<li><strong>
name
</strong>
(
<em>
basestring
</em>
)
–
Layer name.
</li>
<li><strong>
input
</strong>
(
<em>
paddle.v2.config_base.Layer
</em>
)
–
Input layer name.
</li>
<li><strong>
stride
</strong>
(
<em>
Int
</em>
)
–
window size
.
</li>
<li><strong>
stride
</strong>
(
<em>
Int
</em>
)
–
The step size between successive pooling regions
.
</li>
<li><strong>
layer_attr
</strong>
(
<em>
paddle.v2.attr.ExtraAttribute
</em>
)
–
extra layer attributes.
</li>
</ul>
</td>
...
...
develop/doc_cn/searchindex.js
浏览文件 @
aeac41d7
此差异已折叠。
点击以展开。
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录