Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
Paddle
提交
38223092
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看板
提交
38223092
编写于
7月 20, 2017
作者:
T
Travis CI
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Deploy to GitHub Pages:
6a6e1c74
上级
9c7aa741
变更
6
显示空白变更内容
内联
并排
Showing
6 changed file
with
24 addition
and
28 deletion
+24
-28
develop/doc/api/v2/config/layer.html
develop/doc/api/v2/config/layer.html
+2
-4
develop/doc/api/v2/config/networks.html
develop/doc/api/v2/config/networks.html
+9
-9
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
+2
-4
develop/doc_cn/api/v2/config/networks.html
develop/doc_cn/api/v2/config/networks.html
+9
-9
develop/doc_cn/searchindex.js
develop/doc_cn/searchindex.js
+1
-1
未找到文件。
develop/doc/api/v2/config/layer.html
浏览文件 @
38223092
...
@@ -1244,9 +1244,6 @@ layer that share info(the number of sentences and the number
...
@@ -1244,9 +1244,6 @@ layer that share info(the number of sentences and the number
of words in each sentence) with all layer group
’
s outputs.
of words in each sentence) with all layer group
’
s outputs.
targetInlink should be one of the layer group
’
s input.
</p>
targetInlink should be one of the layer group
’
s input.
</p>
</li>
</li>
<li><strong>
is_generating
</strong>
(
<em>
bool
</em>
)
–
If is generating, none of input type should be paddle.v2.config_base.Layer;
else, for training or testing, one of the input type must
be paddle.v2.config_base.Layer.
</li>
</ul>
</ul>
</td>
</td>
</tr>
</tr>
...
@@ -1392,7 +1389,8 @@ sharing a same set of weights.</p>
...
@@ -1392,7 +1389,8 @@ sharing a same set of weights.</p>
demo/seqToseq/seqToseq_net.py for more details.
</p>
demo/seqToseq/seqToseq_net.py for more details.
</p>
</li>
</li>
<li><strong>
input
</strong>
(
<em>
list
</em>
)
–
Input data for the recurrent unit, which should include the
<li><strong>
input
</strong>
(
<em>
list
</em>
)
–
Input data for the recurrent unit, which should include the
previously generated words as a GeneratedInput object.
</li>
previously generated words as a GeneratedInput object.
In beam_search, none of the input
’
s type should be paddle.v2.config_base.Layer.
</li>
<li><strong>
bos_id
</strong>
(
<em>
int
</em>
)
–
Index of the start symbol in the dictionary. The start symbol
<li><strong>
bos_id
</strong>
(
<em>
int
</em>
)
–
Index of the start symbol in the dictionary. The start symbol
is a special token for NLP task, which indicates the
is a special token for NLP task, which indicates the
beginning of a sequence. In the generation task, the start
beginning of a sequence. In the generation task, the start
...
...
develop/doc/api/v2/config/networks.html
浏览文件 @
38223092
...
@@ -476,20 +476,20 @@ for more details about LSTM. The link goes as follows:
...
@@ -476,20 +476,20 @@ for more details about LSTM. The link goes as follows:
<tbody
valign=
"top"
>
<tbody
valign=
"top"
>
<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>
)
–
input layer name.
</li>
<li><strong>
input
</strong>
(
<em>
LayerOutput
</em>
)
–
input layer name.
</li>
<li><strong>
memory_boot
</strong>
(
<em>
LayerOutput | None
</em>
)
–
the initialization state of the LSTM cell.
</li>
<li><strong>
out_memory
</strong>
(
<em>
LayerOutput | None
</em>
)
–
output of previous time step
</li>
<li><strong>
name
</strong>
(
<em>
basestring
</em>
)
–
lstmemory unit name.
</li>
<li><strong>
name
</strong>
(
<em>
basestring
</em>
)
–
lstmemory unit name.
</li>
<li><strong>
size
</strong>
(
<em>
int
</em>
)
–
lstmemory unit size.
</li>
<li><strong>
size
</strong>
(
<em>
int
</em>
)
–
lstmemory unit size.
</li>
<li><strong>
param_attr
</strong>
(
<em>
ParameterAttribute
</em>
)
–
Parameter config, None if use default.
</li>
<li><strong>
param_attr
</strong>
(
<em>
ParameterAttribute
</em>
)
–
Parameter config, None if use default.
</li>
<li><strong>
act
</strong>
(
<em>
BaseActivation
</em>
)
–
lstm final activiation type
</li>
<li><strong>
act
</strong>
(
<em>
BaseActivation
</em>
)
–
lstm final activiation type
</li>
<li><strong>
gate_act
</strong>
(
<em>
BaseActivation
</em>
)
–
lstm gate activiation type
</li>
<li><strong>
gate_act
</strong>
(
<em>
BaseActivation
</em>
)
–
lstm gate activiation type
</li>
<li><strong>
state_act
</strong>
(
<em>
BaseActivation
</em>
)
–
lstm state activiation type.
</li>
<li><strong>
state_act
</strong>
(
<em>
BaseActivation
</em>
)
–
lstm state activiation type.
</li>
<li><strong>
mixed_bias_attr
</strong>
(
<em>
ParameterAttribute|False
</em>
)
–
bias parameter attribute of mixed layer
.
<li><strong>
input_proj_bias_attr
</strong>
(
<em>
ParameterAttribute|False|None
</em>
)
–
bias attribute for input-to-hidden projection
.
False means no bias, None means default bias.
</li>
False means no bias, None means default bias.
</li>
<li><strong>
input_proj_layer_attr
</strong>
(
<em>
ExtraLayerAttribute
</em>
)
–
extra layer attribute for input to hidden
projection of the LSTM unit, such as dropout, error clipping.
</li>
<li><strong>
lstm_bias_attr
</strong>
(
<em>
ParameterAttribute|False
</em>
)
–
bias parameter attribute of lstm layer.
<li><strong>
lstm_bias_attr
</strong>
(
<em>
ParameterAttribute|False
</em>
)
–
bias parameter attribute of lstm layer.
False means no bias, None means default bias.
</li>
False means no bias, None means default bias.
</li>
<li><strong>
mixed_layer_attr
</strong>
(
<em>
ExtraLayerAttribute
</em>
)
–
mixed layer
’
s extra attribute.
</li>
<li><strong>
lstm_layer_attr
</strong>
(
<em>
ExtraLayerAttribute
</em>
)
–
lstm layer
’
s extra attribute.
</li>
<li><strong>
lstm_layer_attr
</strong>
(
<em>
ExtraLayerAttribute
</em>
)
–
lstm layer
’
s extra attribute.
</li>
<li><strong>
get_output_layer_attr
</strong>
(
<em>
ExtraLayerAttribute
</em>
)
–
get output layer
’
s extra attribute.
</li>
</ul>
</ul>
</td>
</td>
</tr>
</tr>
...
@@ -539,19 +539,19 @@ full_matrix_projection must be included before lstmemory_unit is called.</p>
...
@@ -539,19 +539,19 @@ full_matrix_projection must be included before lstmemory_unit is called.</p>
<li><strong>
input
</strong>
(
<em>
LayerOutput
</em>
)
–
input layer name.
</li>
<li><strong>
input
</strong>
(
<em>
LayerOutput
</em>
)
–
input layer name.
</li>
<li><strong>
size
</strong>
(
<em>
int
</em>
)
–
lstmemory group size.
</li>
<li><strong>
size
</strong>
(
<em>
int
</em>
)
–
lstmemory group size.
</li>
<li><strong>
name
</strong>
(
<em>
basestring
</em>
)
–
name of the lstmemory group.
</li>
<li><strong>
name
</strong>
(
<em>
basestring
</em>
)
–
name of the lstmemory group.
</li>
<li><strong>
memory_boot
</strong>
(
<em>
LayerOutput | None
</em>
)
–
the initialization state of LSTM cell.
</li>
<li><strong>
out_memory
</strong>
(
<em>
LayerOutput | None
</em>
)
–
output of previous time step
</li>
<li><strong>
reverse
</strong>
(
<em>
bool
</em>
)
–
is lstm reversed
</li>
<li><strong>
reverse
</strong>
(
<em>
bool
</em>
)
–
is lstm reversed
</li>
<li><strong>
param_attr
</strong>
(
<em>
ParameterAttribute
</em>
)
–
Parameter config, None if use default.
</li>
<li><strong>
param_attr
</strong>
(
<em>
ParameterAttribute
</em>
)
–
Parameter config, None if use default.
</li>
<li><strong>
act
</strong>
(
<em>
BaseActivation
</em>
)
–
lstm final activiation type
</li>
<li><strong>
act
</strong>
(
<em>
BaseActivation
</em>
)
–
lstm final activiation type
</li>
<li><strong>
gate_act
</strong>
(
<em>
BaseActivation
</em>
)
–
lstm gate activiation type
</li>
<li><strong>
gate_act
</strong>
(
<em>
BaseActivation
</em>
)
–
lstm gate activiation type
</li>
<li><strong>
state_act
</strong>
(
<em>
BaseActivation
</em>
)
–
lstm state activiation type.
</li>
<li><strong>
state_act
</strong>
(
<em>
BaseActivation
</em>
)
–
lstm state activiation type.
</li>
<li><strong>
mixed_bias_attr
</strong>
(
<em>
ParameterAttribute|False
</em>
)
–
bias parameter attribute of mixed layer.
False means no bias, None means default bias.
</li>
<li><strong>
lstm_bias_attr
</strong>
(
<em>
ParameterAttribute|False
</em>
)
–
bias parameter attribute of lstm layer.
<li><strong>
lstm_bias_attr
</strong>
(
<em>
ParameterAttribute|False
</em>
)
–
bias parameter attribute of lstm layer.
False means no bias, None means default bias.
</li>
False means no bias, None means default bias.
</li>
<li><strong>
mixed_layer_attr
</strong>
(
<em>
ExtraLayerAttribute
</em>
)
–
mixed layer
’
s extra attribute.
</li>
<li><strong>
input_proj_bias_attr
</strong>
(
<em>
ParameterAttribute|False|None
</em>
)
–
bias attribute for input-to-hidden projection.
False means no bias, None means default bias.
</li>
<li><strong>
input_proj_layer_attr
</strong>
(
<em>
ExtraLayerAttribute
</em>
)
–
extra layer attribute for input to hidden
projection of the LSTM unit, such as dropout, error clipping.
</li>
<li><strong>
lstm_layer_attr
</strong>
(
<em>
ExtraLayerAttribute
</em>
)
–
lstm layer
’
s extra attribute.
</li>
<li><strong>
lstm_layer_attr
</strong>
(
<em>
ExtraLayerAttribute
</em>
)
–
lstm layer
’
s extra attribute.
</li>
<li><strong>
get_output_layer_attr
</strong>
(
<em>
ExtraLayerAttribute
</em>
)
–
get output layer
’
s extra attribute.
</li>
</ul>
</ul>
</td>
</td>
</tr>
</tr>
...
...
develop/doc/searchindex.js
浏览文件 @
38223092
因为 它太大了无法显示 source diff 。你可以改为
查看blob
。
develop/doc_cn/api/v2/config/layer.html
浏览文件 @
38223092
...
@@ -1249,9 +1249,6 @@ layer that share info(the number of sentences and the number
...
@@ -1249,9 +1249,6 @@ layer that share info(the number of sentences and the number
of words in each sentence) with all layer group
’
s outputs.
of words in each sentence) with all layer group
’
s outputs.
targetInlink should be one of the layer group
’
s input.
</p>
targetInlink should be one of the layer group
’
s input.
</p>
</li>
</li>
<li><strong>
is_generating
</strong>
(
<em>
bool
</em>
)
–
If is generating, none of input type should be paddle.v2.config_base.Layer;
else, for training or testing, one of the input type must
be paddle.v2.config_base.Layer.
</li>
</ul>
</ul>
</td>
</td>
</tr>
</tr>
...
@@ -1397,7 +1394,8 @@ sharing a same set of weights.</p>
...
@@ -1397,7 +1394,8 @@ sharing a same set of weights.</p>
demo/seqToseq/seqToseq_net.py for more details.
</p>
demo/seqToseq/seqToseq_net.py for more details.
</p>
</li>
</li>
<li><strong>
input
</strong>
(
<em>
list
</em>
)
–
Input data for the recurrent unit, which should include the
<li><strong>
input
</strong>
(
<em>
list
</em>
)
–
Input data for the recurrent unit, which should include the
previously generated words as a GeneratedInput object.
</li>
previously generated words as a GeneratedInput object.
In beam_search, none of the input
’
s type should be paddle.v2.config_base.Layer.
</li>
<li><strong>
bos_id
</strong>
(
<em>
int
</em>
)
–
Index of the start symbol in the dictionary. The start symbol
<li><strong>
bos_id
</strong>
(
<em>
int
</em>
)
–
Index of the start symbol in the dictionary. The start symbol
is a special token for NLP task, which indicates the
is a special token for NLP task, which indicates the
beginning of a sequence. In the generation task, the start
beginning of a sequence. In the generation task, the start
...
...
develop/doc_cn/api/v2/config/networks.html
浏览文件 @
38223092
...
@@ -481,20 +481,20 @@ for more details about LSTM. The link goes as follows:
...
@@ -481,20 +481,20 @@ for more details about LSTM. The link goes as follows:
<tbody
valign=
"top"
>
<tbody
valign=
"top"
>
<tr
class=
"field-odd field"
><th
class=
"field-name"
>
参数:
</th><td
class=
"field-body"
><ul
class=
"first simple"
>
<tr
class=
"field-odd field"
><th
class=
"field-name"
>
参数:
</th><td
class=
"field-body"
><ul
class=
"first simple"
>
<li><strong>
input
</strong>
(
<em>
LayerOutput
</em>
)
–
input layer name.
</li>
<li><strong>
input
</strong>
(
<em>
LayerOutput
</em>
)
–
input layer name.
</li>
<li><strong>
memory_boot
</strong>
(
<em>
LayerOutput | None
</em>
)
–
the initialization state of the LSTM cell.
</li>
<li><strong>
out_memory
</strong>
(
<em>
LayerOutput | None
</em>
)
–
output of previous time step
</li>
<li><strong>
name
</strong>
(
<em>
basestring
</em>
)
–
lstmemory unit name.
</li>
<li><strong>
name
</strong>
(
<em>
basestring
</em>
)
–
lstmemory unit name.
</li>
<li><strong>
size
</strong>
(
<em>
int
</em>
)
–
lstmemory unit size.
</li>
<li><strong>
size
</strong>
(
<em>
int
</em>
)
–
lstmemory unit size.
</li>
<li><strong>
param_attr
</strong>
(
<em>
ParameterAttribute
</em>
)
–
Parameter config, None if use default.
</li>
<li><strong>
param_attr
</strong>
(
<em>
ParameterAttribute
</em>
)
–
Parameter config, None if use default.
</li>
<li><strong>
act
</strong>
(
<em>
BaseActivation
</em>
)
–
lstm final activiation type
</li>
<li><strong>
act
</strong>
(
<em>
BaseActivation
</em>
)
–
lstm final activiation type
</li>
<li><strong>
gate_act
</strong>
(
<em>
BaseActivation
</em>
)
–
lstm gate activiation type
</li>
<li><strong>
gate_act
</strong>
(
<em>
BaseActivation
</em>
)
–
lstm gate activiation type
</li>
<li><strong>
state_act
</strong>
(
<em>
BaseActivation
</em>
)
–
lstm state activiation type.
</li>
<li><strong>
state_act
</strong>
(
<em>
BaseActivation
</em>
)
–
lstm state activiation type.
</li>
<li><strong>
mixed_bias_attr
</strong>
(
<em>
ParameterAttribute|False
</em>
)
–
bias parameter attribute of mixed layer
.
<li><strong>
input_proj_bias_attr
</strong>
(
<em>
ParameterAttribute|False|None
</em>
)
–
bias attribute for input-to-hidden projection
.
False means no bias, None means default bias.
</li>
False means no bias, None means default bias.
</li>
<li><strong>
input_proj_layer_attr
</strong>
(
<em>
ExtraLayerAttribute
</em>
)
–
extra layer attribute for input to hidden
projection of the LSTM unit, such as dropout, error clipping.
</li>
<li><strong>
lstm_bias_attr
</strong>
(
<em>
ParameterAttribute|False
</em>
)
–
bias parameter attribute of lstm layer.
<li><strong>
lstm_bias_attr
</strong>
(
<em>
ParameterAttribute|False
</em>
)
–
bias parameter attribute of lstm layer.
False means no bias, None means default bias.
</li>
False means no bias, None means default bias.
</li>
<li><strong>
mixed_layer_attr
</strong>
(
<em>
ExtraLayerAttribute
</em>
)
–
mixed layer
’
s extra attribute.
</li>
<li><strong>
lstm_layer_attr
</strong>
(
<em>
ExtraLayerAttribute
</em>
)
–
lstm layer
’
s extra attribute.
</li>
<li><strong>
lstm_layer_attr
</strong>
(
<em>
ExtraLayerAttribute
</em>
)
–
lstm layer
’
s extra attribute.
</li>
<li><strong>
get_output_layer_attr
</strong>
(
<em>
ExtraLayerAttribute
</em>
)
–
get output layer
’
s extra attribute.
</li>
</ul>
</ul>
</td>
</td>
</tr>
</tr>
...
@@ -544,19 +544,19 @@ full_matrix_projection must be included before lstmemory_unit is called.</p>
...
@@ -544,19 +544,19 @@ full_matrix_projection must be included before lstmemory_unit is called.</p>
<li><strong>
input
</strong>
(
<em>
LayerOutput
</em>
)
–
input layer name.
</li>
<li><strong>
input
</strong>
(
<em>
LayerOutput
</em>
)
–
input layer name.
</li>
<li><strong>
size
</strong>
(
<em>
int
</em>
)
–
lstmemory group size.
</li>
<li><strong>
size
</strong>
(
<em>
int
</em>
)
–
lstmemory group size.
</li>
<li><strong>
name
</strong>
(
<em>
basestring
</em>
)
–
name of the lstmemory group.
</li>
<li><strong>
name
</strong>
(
<em>
basestring
</em>
)
–
name of the lstmemory group.
</li>
<li><strong>
memory_boot
</strong>
(
<em>
LayerOutput | None
</em>
)
–
the initialization state of LSTM cell.
</li>
<li><strong>
out_memory
</strong>
(
<em>
LayerOutput | None
</em>
)
–
output of previous time step
</li>
<li><strong>
reverse
</strong>
(
<em>
bool
</em>
)
–
is lstm reversed
</li>
<li><strong>
reverse
</strong>
(
<em>
bool
</em>
)
–
is lstm reversed
</li>
<li><strong>
param_attr
</strong>
(
<em>
ParameterAttribute
</em>
)
–
Parameter config, None if use default.
</li>
<li><strong>
param_attr
</strong>
(
<em>
ParameterAttribute
</em>
)
–
Parameter config, None if use default.
</li>
<li><strong>
act
</strong>
(
<em>
BaseActivation
</em>
)
–
lstm final activiation type
</li>
<li><strong>
act
</strong>
(
<em>
BaseActivation
</em>
)
–
lstm final activiation type
</li>
<li><strong>
gate_act
</strong>
(
<em>
BaseActivation
</em>
)
–
lstm gate activiation type
</li>
<li><strong>
gate_act
</strong>
(
<em>
BaseActivation
</em>
)
–
lstm gate activiation type
</li>
<li><strong>
state_act
</strong>
(
<em>
BaseActivation
</em>
)
–
lstm state activiation type.
</li>
<li><strong>
state_act
</strong>
(
<em>
BaseActivation
</em>
)
–
lstm state activiation type.
</li>
<li><strong>
mixed_bias_attr
</strong>
(
<em>
ParameterAttribute|False
</em>
)
–
bias parameter attribute of mixed layer.
False means no bias, None means default bias.
</li>
<li><strong>
lstm_bias_attr
</strong>
(
<em>
ParameterAttribute|False
</em>
)
–
bias parameter attribute of lstm layer.
<li><strong>
lstm_bias_attr
</strong>
(
<em>
ParameterAttribute|False
</em>
)
–
bias parameter attribute of lstm layer.
False means no bias, None means default bias.
</li>
False means no bias, None means default bias.
</li>
<li><strong>
mixed_layer_attr
</strong>
(
<em>
ExtraLayerAttribute
</em>
)
–
mixed layer
’
s extra attribute.
</li>
<li><strong>
input_proj_bias_attr
</strong>
(
<em>
ParameterAttribute|False|None
</em>
)
–
bias attribute for input-to-hidden projection.
False means no bias, None means default bias.
</li>
<li><strong>
input_proj_layer_attr
</strong>
(
<em>
ExtraLayerAttribute
</em>
)
–
extra layer attribute for input to hidden
projection of the LSTM unit, such as dropout, error clipping.
</li>
<li><strong>
lstm_layer_attr
</strong>
(
<em>
ExtraLayerAttribute
</em>
)
–
lstm layer
’
s extra attribute.
</li>
<li><strong>
lstm_layer_attr
</strong>
(
<em>
ExtraLayerAttribute
</em>
)
–
lstm layer
’
s extra attribute.
</li>
<li><strong>
get_output_layer_attr
</strong>
(
<em>
ExtraLayerAttribute
</em>
)
–
get output layer
’
s extra attribute.
</li>
</ul>
</ul>
</td>
</td>
</tr>
</tr>
...
...
develop/doc_cn/searchindex.js
浏览文件 @
38223092
因为 它太大了无法显示 source diff 。你可以改为
查看blob
。
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录