<li><strong>layer_attr</strong> (<aclass="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>
<li><strong>layer_attr</strong> (<aclass="reference internal"href="../../v2/model_configs.html#paddle.v2.attr.ExtraLayerAttribute"title="paddle.v2.attr.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) – Extra Layer Attribute.</li>
</ul>
</ul>
</td>
</td>
</tr>
</tr>
...
@@ -925,7 +928,7 @@ to devided by groups.</p>
...
@@ -925,7 +928,7 @@ to devided by groups.</p>
automatically from previous output.</li>
automatically from previous output.</li>
<li><strong>groups</strong> (<em>int</em>) – The group number of input layer.</li>
<li><strong>groups</strong> (<em>int</em>) – The group number of input layer.</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> (<aclass="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>
<li><strong>layer_attr</strong> (<aclass="reference internal"href="../../v2/model_configs.html#paddle.v2.attr.ExtraLayerAttribute"title="paddle.v2.attr.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) – Extra Layer attribute.</li>
</ul>
</ul>
</td>
</td>
</tr>
</tr>
...
@@ -967,7 +970,7 @@ The details please refer to
...
@@ -967,7 +970,7 @@ The details please refer to
<li><strong>power</strong> (<em>float</em>) – The hyper-parameter.</li>
<li><strong>power</strong> (<em>float</em>) – The hyper-parameter.</li>
<li><strong>num_channels</strong>– input layer’s filers number or channels. If
<li><strong>num_channels</strong>– input layer’s filers number or channels. If
num_channels is None, it will be set automatically.</li>
num_channels is None, it will be set automatically.</li>
<li><strong>layer_attr</strong> (<aclass="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>
<li><strong>layer_attr</strong> (<aclass="reference internal"href="../../v2/model_configs.html#paddle.v2.attr.ExtraLayerAttribute"title="paddle.v2.attr.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) – Extra Layer Attribute.</li>
</ul>
</ul>
</td>
</td>
</tr>
</tr>
...
@@ -1029,7 +1032,7 @@ input.</li>
...
@@ -1029,7 +1032,7 @@ input.</li>
initial_std=0, initial_mean=1 is best practice.</li>
initial_std=0, initial_mean=1 is best practice.</li>
<li><strong>param_attr</strong> (<aclass="reference internal"href="attrs.html#paddle.trainer_config_helpers.attrs.ParameterAttribute"title="paddle.trainer_config_helpers.attrs.ParameterAttribute"><em>ParameterAttribute</em></a>) –<spanclass="math">\(\gamma\)</span>, better be one when initialize. So the
<li><strong>param_attr</strong> (<aclass="reference internal"href="attrs.html#paddle.trainer_config_helpers.attrs.ParameterAttribute"title="paddle.trainer_config_helpers.attrs.ParameterAttribute"><em>ParameterAttribute</em></a>) –<spanclass="math">\(\gamma\)</span>, better be one when initialize. So the
initial_std=0, initial_mean=1 is best practice.</li>
initial_std=0, initial_mean=1 is best practice.</li>
<li><strong>layer_attr</strong> (<aclass="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>
<li><strong>layer_attr</strong> (<aclass="reference internal"href="../../v2/model_configs.html#paddle.v2.attr.ExtraLayerAttribute"title="paddle.v2.attr.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) – Extra Layer Attribute.</li>
<li><strong>use_global_stats</strong> (<em>bool|None.</em>) – whether use moving mean/variance statistics
<li><strong>use_global_stats</strong> (<em>bool|None.</em>) – whether use moving mean/variance statistics
during testing peroid. If None or True,
during testing peroid. If None or True,
it will use moving mean/variance statistics during
it will use moving mean/variance statistics during
<li><strong>layer_attr</strong> (<aclass="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>
<li><strong>layer_attr</strong> (<aclass="reference internal"href="../../v2/model_configs.html#paddle.v2.attr.ExtraLayerAttribute"title="paddle.v2.attr.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) – layer’s extra attribute.</li>
</ul>
</ul>
</td>
</td>
</tr>
</tr>
...
@@ -1607,7 +1610,7 @@ then this function will just return layer’s name.</li>
...
@@ -1607,7 +1610,7 @@ then this function will just return layer’s name.</li>
<li><strong>bias_attr</strong> (<aclass="reference internal"href="attrs.html#paddle.trainer_config_helpers.attrs.ParameterAttribute"title="paddle.trainer_config_helpers.attrs.ParameterAttribute"><em>ParameterAttribute</em></a><em> or </em><em>None</em><em> or </em><em>bool</em>) – The Bias Attribute. If no bias, then pass False or
<li><strong>bias_attr</strong> (<aclass="reference internal"href="attrs.html#paddle.trainer_config_helpers.attrs.ParameterAttribute"title="paddle.trainer_config_helpers.attrs.ParameterAttribute"><em>ParameterAttribute</em></a><em> or </em><em>None</em><em> or </em><em>bool</em>) – The Bias Attribute. If no bias, then pass False or
something not type of ParameterAttribute. None will get a
something not type of ParameterAttribute. None will get a
default Bias.</li>
default Bias.</li>
<li><strong>layer_attr</strong> (<aclass="reference internal"href="attrs.html#paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"title="paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) – The extra layer config. Default is None.</li>
<li><strong>layer_attr</strong> (<aclass="reference internal"href="../../v2/model_configs.html#paddle.v2.attr.ExtraLayerAttribute"title="paddle.v2.attr.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) – The extra layer config. Default is None.</li>
</ul>
</ul>
</td>
</td>
</tr>
</tr>
...
@@ -2067,7 +2070,7 @@ Inputs can be list of LayerOutput or list of projection.</p>
...
@@ -2067,7 +2070,7 @@ Inputs can be list of LayerOutput or list of projection.</p>
<li><strong>layer_attr</strong> (<aclass="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>
<li><strong>layer_attr</strong> (<aclass="reference internal"href="../../v2/model_configs.html#paddle.v2.attr.ExtraLayerAttribute"title="paddle.v2.attr.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) – Extra Layer Attribute.</li>
<li><strong>bias_attr</strong> (<aclass="reference internal"href="attrs.html#paddle.trainer_config_helpers.attrs.ParameterAttribute"title="paddle.trainer_config_helpers.attrs.ParameterAttribute"><em>ParameterAttribute</em></a><em> or </em><em>None</em><em> or </em><em>bool</em>) – The Bias Attribute. If no bias, then pass False or
<li><strong>bias_attr</strong> (<aclass="reference internal"href="attrs.html#paddle.trainer_config_helpers.attrs.ParameterAttribute"title="paddle.trainer_config_helpers.attrs.ParameterAttribute"><em>ParameterAttribute</em></a><em> or </em><em>None</em><em> or </em><em>bool</em>) – The Bias Attribute. If no bias, then pass False or
something not type of ParameterAttribute. None will get a
something not type of ParameterAttribute. None will get a
default Bias.</li>
default Bias.</li>
...
@@ -2384,7 +2387,7 @@ LayerOutput.</li>
...
@@ -2384,7 +2387,7 @@ LayerOutput.</li>
<li><strong>act</strong> (<em>BaseActivation</em>) – Activation Type, default is tanh.</li>
<li><strong>act</strong> (<em>BaseActivation</em>) – Activation Type, default is tanh.</li>
<li><strong>bias_attr</strong> (<em>ParameterAttribute|bool</em>) – Bias attribute. If False, means no bias. None is default
<li><strong>bias_attr</strong> (<em>ParameterAttribute|bool</em>) – Bias attribute. If False, means no bias. None is default
bias.</li>
bias.</li>
<li><strong>layer_attr</strong> (<aclass="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>
<li><strong>layer_attr</strong> (<aclass="reference internal"href="../../v2/model_configs.html#paddle.v2.attr.ExtraLayerAttribute"title="paddle.v2.attr.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) – Extra Layer attribute.</li>
</ul>
</ul>
</td>
</td>
</tr>
</tr>
...
@@ -2521,7 +2524,7 @@ which is used in NEURAL TURING MACHINE.</p>
...
@@ -2521,7 +2524,7 @@ which is used in NEURAL TURING MACHINE.</p>
@@ -262,9 +266,9 @@ None if user don’t care.</li>
...
@@ -262,9 +266,9 @@ None if user don’t care.</li>
<li><strong>fc_act</strong> (<em>BaseActivation</em>) – fc layer activation type. None means tanh</li>
<li><strong>fc_act</strong> (<em>BaseActivation</em>) – fc layer activation type. None means tanh</li>
<li><strong>pool_bias_attr</strong> (<aclass="reference internal"href="attrs.html#paddle.trainer_config_helpers.attrs.ParameterAttribute"title="paddle.trainer_config_helpers.attrs.ParameterAttribute"><em>ParameterAttribute</em></a><em> or </em><em>None.</em>) – pooling layer bias attr. None if don’t care.
<li><strong>pool_bias_attr</strong> (<aclass="reference internal"href="attrs.html#paddle.trainer_config_helpers.attrs.ParameterAttribute"title="paddle.trainer_config_helpers.attrs.ParameterAttribute"><em>ParameterAttribute</em></a><em> or </em><em>None.</em>) – pooling layer bias attr. None if don’t care.
False if no bias.</li>
False if no bias.</li>
<li><strong>fc_attr</strong> (<aclass="reference internal"href="attrs.html#paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"title="paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) – fc layer extra attribute.</li>
<li><strong>fc_attr</strong> (<aclass="reference internal"href="../../v2/model_configs.html#paddle.v2.attr.ExtraLayerAttribute"title="paddle.v2.attr.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) – fc layer extra attribute.</li>
<li><strong>context_attr</strong> (<aclass="reference internal"href="attrs.html#paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"title="paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) – context projection layer extra attribute.</li>
<li><strong>context_attr</strong> (<aclass="reference internal"href="../../v2/model_configs.html#paddle.v2.attr.ExtraLayerAttribute"title="paddle.v2.attr.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) – context projection layer extra attribute.</li>
<li><strong>pool_attr</strong> (<aclass="reference internal"href="attrs.html#paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"title="paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) – pooling layer extra attribute.</li>
<li><strong>pool_attr</strong> (<aclass="reference internal"href="../../v2/model_configs.html#paddle.v2.attr.ExtraLayerAttribute"title="paddle.v2.attr.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) – pooling layer extra attribute.</li>
</ul>
</ul>
</td>
</td>
</tr>
</tr>
...
@@ -310,9 +314,9 @@ None if user don’t care.</li>
...
@@ -310,9 +314,9 @@ None if user don’t care.</li>
<li><strong>fc_act</strong> (<em>BaseActivation</em>) – fc layer activation type. None means tanh</li>
<li><strong>fc_act</strong> (<em>BaseActivation</em>) – fc layer activation type. None means tanh</li>
<li><strong>pool_bias_attr</strong> (<aclass="reference internal"href="attrs.html#paddle.trainer_config_helpers.attrs.ParameterAttribute"title="paddle.trainer_config_helpers.attrs.ParameterAttribute"><em>ParameterAttribute</em></a><em> or </em><em>None.</em>) – pooling layer bias attr. None if don’t care.
<li><strong>pool_bias_attr</strong> (<aclass="reference internal"href="attrs.html#paddle.trainer_config_helpers.attrs.ParameterAttribute"title="paddle.trainer_config_helpers.attrs.ParameterAttribute"><em>ParameterAttribute</em></a><em> or </em><em>None.</em>) – pooling layer bias attr. None if don’t care.
False if no bias.</li>
False if no bias.</li>
<li><strong>fc_attr</strong> (<aclass="reference internal"href="attrs.html#paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"title="paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) – fc layer extra attribute.</li>
<li><strong>fc_attr</strong> (<aclass="reference internal"href="../../v2/model_configs.html#paddle.v2.attr.ExtraLayerAttribute"title="paddle.v2.attr.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) – fc layer extra attribute.</li>
<li><strong>context_attr</strong> (<aclass="reference internal"href="attrs.html#paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"title="paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) – context projection layer extra attribute.</li>
<li><strong>context_attr</strong> (<aclass="reference internal"href="../../v2/model_configs.html#paddle.v2.attr.ExtraLayerAttribute"title="paddle.v2.attr.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) – context projection layer extra attribute.</li>
<li><strong>pool_attr</strong> (<aclass="reference internal"href="attrs.html#paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"title="paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) – pooling layer extra attribute.</li>
<li><strong>pool_attr</strong> (<aclass="reference internal"href="../../v2/model_configs.html#paddle.v2.attr.ExtraLayerAttribute"title="paddle.v2.attr.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) – pooling layer extra attribute.</li>
<li><strong>pool_stride</strong> (<em>int</em>) – see img_pool_layer’s document.</li>
<li><strong>pool_stride</strong> (<em>int</em>) – see img_pool_layer’s document.</li>
<li><strong>pool_padding</strong> (<em>int</em>) – see img_pool_layer’s document.</li>
<li><strong>pool_padding</strong> (<em>int</em>) – see img_pool_layer’s document.</li>
<li><strong>pool_layer_attr</strong> (<aclass="reference internal"href="attrs.html#paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"title="paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) – see img_pool_layer’s document.</li>
<li><strong>pool_layer_attr</strong> (<aclass="reference internal"href="../../v2/model_configs.html#paddle.v2.attr.ExtraLayerAttribute"title="paddle.v2.attr.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) – see img_pool_layer’s document.</li>
</ul>
</ul>
</td>
</td>
</tr>
</tr>
...
@@ -436,10 +440,10 @@ False if no bias.</li>
...
@@ -436,10 +440,10 @@ False if no bias.</li>
<li><strong>num_channel</strong> (<em>int</em>) – see img_conv_layer for details</li>
<li><strong>num_channel</strong> (<em>int</em>) – see img_conv_layer for details</li>
<li><strong>param_attr</strong> (<aclass="reference internal"href="attrs.html#paddle.trainer_config_helpers.attrs.ParameterAttribute"title="paddle.trainer_config_helpers.attrs.ParameterAttribute"><em>ParameterAttribute</em></a>) – see img_conv_layer for details</li>
<li><strong>param_attr</strong> (<aclass="reference internal"href="attrs.html#paddle.trainer_config_helpers.attrs.ParameterAttribute"title="paddle.trainer_config_helpers.attrs.ParameterAttribute"><em>ParameterAttribute</em></a>) – see img_conv_layer for details</li>
<li><strong>shared_bias</strong> (<em>bool</em>) – see img_conv_layer for details</li>
<li><strong>shared_bias</strong> (<em>bool</em>) – see img_conv_layer for details</li>
<li><strong>conv_layer_attr</strong> (<aclass="reference internal"href="attrs.html#paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"title="paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) – see img_conv_layer for details</li>
<li><strong>conv_layer_attr</strong> (<aclass="reference internal"href="../../v2/model_configs.html#paddle.v2.attr.ExtraLayerAttribute"title="paddle.v2.attr.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) – see img_conv_layer for details</li>
<li><strong>pool_stride</strong> (<em>int</em>) – see img_pool_layer for details</li>
<li><strong>pool_stride</strong> (<em>int</em>) – see img_pool_layer for details</li>
<li><strong>pool_padding</strong> (<em>int</em>) – see img_pool_layer for details</li>
<li><strong>pool_padding</strong> (<em>int</em>) – see img_pool_layer for details</li>
<li><strong>pool_layer_attr</strong> (<aclass="reference internal"href="attrs.html#paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"title="paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) – see img_pool_layer for details</li>
<li><strong>pool_layer_attr</strong> (<aclass="reference internal"href="../../v2/model_configs.html#paddle.v2.attr.ExtraLayerAttribute"title="paddle.v2.attr.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) – see img_pool_layer for details</li>
</ul>
</ul>
</td>
</td>
</tr>
</tr>
...
@@ -523,9 +527,9 @@ for more details about LSTM. The link goes as follows:
...
@@ -523,9 +527,9 @@ for more details about LSTM. The link goes as follows:
False means no bias, None means default bias.</li>
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> (<aclass="reference internal"href="attrs.html#paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"title="paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) – mixed layer’s extra attribute.</li>
<li><strong>mixed_layer_attr</strong> (<aclass="reference internal"href="../../v2/model_configs.html#paddle.v2.attr.ExtraLayerAttribute"title="paddle.v2.attr.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) – mixed layer’s extra attribute.</li>
<li><strong>lstm_layer_attr</strong> (<aclass="reference internal"href="attrs.html#paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"title="paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) – lstm layer’s extra attribute.</li>
<li><strong>lstm_layer_attr</strong> (<aclass="reference internal"href="../../v2/model_configs.html#paddle.v2.attr.ExtraLayerAttribute"title="paddle.v2.attr.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) – lstm layer’s extra attribute.</li>
<li><strong>get_output_layer_attr</strong> (<aclass="reference internal"href="attrs.html#paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"title="paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) – get output layer’s extra attribute.</li>
<li><strong>get_output_layer_attr</strong> (<aclass="reference internal"href="../../v2/model_configs.html#paddle.v2.attr.ExtraLayerAttribute"title="paddle.v2.attr.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) – get output layer’s extra attribute.</li>
</ul>
</ul>
</td>
</td>
</tr>
</tr>
...
@@ -584,9 +588,9 @@ full_matrix_projection must be included before lstmemory_unit is called.</p>
...
@@ -584,9 +588,9 @@ full_matrix_projection must be included before lstmemory_unit is called.</p>
False means no bias, None means default bias.</li>
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> (<aclass="reference internal"href="attrs.html#paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"title="paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) – mixed layer’s extra attribute.</li>
<li><strong>mixed_layer_attr</strong> (<aclass="reference internal"href="../../v2/model_configs.html#paddle.v2.attr.ExtraLayerAttribute"title="paddle.v2.attr.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) – mixed layer’s extra attribute.</li>
<li><strong>lstm_layer_attr</strong> (<aclass="reference internal"href="attrs.html#paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"title="paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) – lstm layer’s extra attribute.</li>
<li><strong>lstm_layer_attr</strong> (<aclass="reference internal"href="../../v2/model_configs.html#paddle.v2.attr.ExtraLayerAttribute"title="paddle.v2.attr.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) – lstm layer’s extra attribute.</li>
<li><strong>get_output_layer_attr</strong> (<aclass="reference internal"href="attrs.html#paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"title="paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) – get output layer’s extra attribute.</li>
<li><strong>get_output_layer_attr</strong> (<aclass="reference internal"href="../../v2/model_configs.html#paddle.v2.attr.ExtraLayerAttribute"title="paddle.v2.attr.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) – get output layer’s extra attribute.</li>
</ul>
</ul>
</td>
</td>
</tr>
</tr>
...
@@ -629,8 +633,8 @@ means default bias.</li>
...
@@ -629,8 +633,8 @@ means default bias.</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>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>name</strong> (<em>basestring</em>) – pooling layer type name used by paddle.</td>
</tr>
</tbody>
</table>
</dd></dl>
</dd></dl>
</div>
</div>
<divclass="section"id="avgpooling">
<divclass="section"id="avgpooling">
<h2>AvgPooling<aclass="headerlink"href="#avgpooling"title="Permalink to this headline">¶</a></h2>
<h2>AvgPooling<aclass="headerlink"href="#avgpooling"title="Permalink to this headline">¶</a></h2>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>output_max_index</strong> (<em>bool|None</em>) – True if output sequence max index instead of max
value. None means use default value in proto.</td>
</tr>
</tbody>
</table>
</dd></dl>
</dd></dl>
</div>
</div>
<divclass="section"id="sumpooling">
<divclass="section"id="sumpooling">
<h2>SumPooling<aclass="headerlink"href="#sumpooling"title="Permalink to this headline">¶</a></h2>
<h2>SumPooling<aclass="headerlink"href="#sumpooling"title="Permalink to this headline">¶</a></h2>
<li><ahref="api/v2/model_configs.html#paddle.v2.layer.classification_cost">classification_cost (class in paddle.v2.layer)</a>
</li>
<li><ahref="api/v2/model_configs.html#paddle.v2.layer.concat">concat (class in paddle.v2.layer)</a>
</li>
<li><ahref="api/v2/model_configs.html#paddle.v2.layer.context_projection">context_projection (class in paddle.v2.layer)</a>
</li>
<li><ahref="api/v2/model_configs.html#paddle.v2.layer.conv_operator">conv_operator (class in paddle.v2.layer)</a>
</li>
<li><ahref="api/v2/model_configs.html#paddle.v2.layer.conv_projection">conv_projection (class in paddle.v2.layer)</a>
</li>
<li><ahref="api/v2/model_configs.html#paddle.v2.layer.conv_shift">conv_shift (class in paddle.v2.layer)</a>
</li>
<li><ahref="api/v2/model_configs.html#paddle.v2.layer.convex_comb">convex_comb (class in paddle.v2.layer)</a>
</li>
</ul></td>
<tdstyle="width: 33%; vertical-align: top;"><ul>
<li><ahref="api/v2/model_configs.html#paddle.v2.layer.cos_sim">cos_sim (class in paddle.v2.layer)</a>
</li>
<li><ahref="api/v2/model_configs.html#paddle.v2.layer.crf">crf (class in paddle.v2.layer)</a>
</li>
<li><ahref="api/v2/model_configs.html#paddle.v2.layer.crf_decoding">crf_decoding (class in paddle.v2.layer)</a>
</li>
<li><ahref="api/v2/model_configs.html#paddle.v2.layer.cross_entropy_cost">cross_entropy_cost (class in paddle.v2.layer)</a>
</li>
<li><ahref="api/v2/model_configs.html#paddle.v2.layer.cross_entropy_with_selfnorm_cost">cross_entropy_with_selfnorm_cost (class in paddle.v2.layer)</a>
</li>
<li><ahref="api/v2/model_configs.html#paddle.v2.layer.ctc">ctc (class in paddle.v2.layer)</a>
</li>
<li><ahref="api/v2/model_configs.html#paddle.v2.pooling.CudnnAvg">CudnnAvg (class in paddle.v2.pooling)</a>
</li>
<li><ahref="api/v2/model_configs.html#paddle.v2.pooling.CudnnMax">CudnnMax (class in paddle.v2.pooling)</a>
<li><ahref="api/v2/model_configs.html#paddle.v2.layer.data">data (class in paddle.v2.layer)</a>
</li>
<li><ahref="api/v1/trainer_config_helpers/data_sources.html#paddle.trainer_config_helpers.data_sources.define_py_data_sources2">define_py_data_sources2() (in module paddle.trainer_config_helpers.data_sources)</a>
<li><ahref="api/v1/trainer_config_helpers/data_sources.html#paddle.trainer_config_helpers.data_sources.define_py_data_sources2">define_py_data_sources2() (in module paddle.trainer_config_helpers.data_sources)</a>
</li>
<li><ahref="api/v2/model_configs.html#paddle.v2.layer.dotmul_operator">dotmul_operator (class in paddle.v2.layer)</a>
</li>
</ul></td>
<tdstyle="width: 33%; vertical-align: top;"><ul>
<li><ahref="api/v2/model_configs.html#paddle.v2.layer.dotmul_projection">dotmul_projection (class in paddle.v2.layer)</a>
</li>
<li><ahref="api/v2/model_configs.html#paddle.v2.layer.dropout">dropout (class in paddle.v2.layer)</a>
</li>
<li><ahref="api/v2/model_configs.html#paddle.v2.networks.dropout_layer">dropout_layer (class in paddle.v2.networks)</a>
<li><ahref="api/v1/trainer_config_helpers/attrs.html#paddle.trainer_config_helpers.attrs.ExtraAttr">ExtraAttr (in module paddle.trainer_config_helpers.attrs)</a>
<li><ahref="api/v2/model_configs.html#paddle.v2.layer.embedding">embedding (class in paddle.v2.layer)</a>
</li>
<li><ahref="api/v2/model_configs.html#paddle.v2.layer.eos">eos (class in paddle.v2.layer)</a>
</li>
<li><ahref="api/v2/model_configs.html#paddle.v2.activation.Exp">Exp (class in paddle.v2.activation)</a>
</li>
<li><ahref="api/v2/model_configs.html#paddle.v2.layer.expand">expand (class in paddle.v2.layer)</a>
</li>
</li>
</ul></td>
</ul></td>
<tdstyle="width: 33%; vertical-align: top;"><ul>
<tdstyle="width: 33%; vertical-align: top;"><ul>
<li><ahref="api/v2/model_configs.html#paddle.v2.attr.Extra">Extra (in module paddle.v2.attr)</a>
</li>
<li><ahref="api/v1/trainer_config_helpers/attrs.html#paddle.trainer_config_helpers.attrs.ExtraAttr">ExtraAttr (in module paddle.trainer_config_helpers.attrs)</a>
<li><ahref="api/v1/trainer_config_helpers/attrs.html#paddle.trainer_config_helpers.attrs.ExtraLayerAttribute">ExtraLayerAttribute (class in paddle.trainer_config_helpers.attrs)</a>
<li><ahref="api/v1/trainer_config_helpers/attrs.html#paddle.trainer_config_helpers.attrs.ExtraLayerAttribute">ExtraLayerAttribute (class in paddle.trainer_config_helpers.attrs)</a>
<ul>
<li><ahref="api/v2/model_configs.html#paddle.v2.attr.ExtraLayerAttribute">(class in paddle.v2.attr)</a>
<li><ahref="api/v2/model_configs.html#paddle.v2.pooling.Max">Max (class in paddle.v2.pooling)</a>
</li>
<li><ahref="api/v2/model_configs.html#paddle.v2.layer.max_id">max_id (class in paddle.v2.layer)</a>
</li>
</ul></td>
<tdstyle="width: 33%; vertical-align: top;"><ul>
<li><ahref="api/v2/model_configs.html#paddle.v2.layer.maxout">maxout (class in paddle.v2.layer)</a>
</li>
<li><ahref="api/v2/model_configs.html#paddle.v2.layer.multi_binary_label_cross_entropy_cost">multi_binary_label_cross_entropy_cost (class in paddle.v2.layer)</a>
<li><ahref="api/v2/model_configs.html#paddle.v2.attr.Param">Param (in module paddle.v2.attr)</a>
</li>
</li>
</ul></td>
</ul></td>
<tdstyle="width: 33%; vertical-align: top;"><ul>
<tdstyle="width: 33%; vertical-align: top;"><ul>
<li><ahref="api/v1/trainer_config_helpers/attrs.html#paddle.trainer_config_helpers.attrs.ParamAttr">ParamAttr (in module paddle.trainer_config_helpers.attrs)</a>
<li><ahref="api/v1/trainer_config_helpers/attrs.html#paddle.trainer_config_helpers.attrs.ParamAttr">ParamAttr (in module paddle.trainer_config_helpers.attrs)</a>
<li><ahref="api/v1/trainer_config_helpers/attrs.html#paddle.trainer_config_helpers.attrs.ParameterAttribute">ParameterAttribute (class in paddle.trainer_config_helpers.attrs)</a>
<li><ahref="api/v1/trainer_config_helpers/attrs.html#paddle.trainer_config_helpers.attrs.ParameterAttribute">ParameterAttribute (class in paddle.trainer_config_helpers.attrs)</a>
<ul>
<li><ahref="api/v2/model_configs.html#paddle.v2.attr.ParameterAttribute">(class in paddle.v2.attr)</a>
</li>
</li>
</ul></li>
<li><ahref="api/v2/model_configs.html#paddle.v2.layer.parse_network">parse_network() (in module paddle.v2.layer)</a>
<li><ahref="api/v2/model_configs.html#paddle.v2.layer.parse_network">parse_network() (in module paddle.v2.layer)</a>
</li>
<li><ahref="api/v2/model_configs.html#paddle.v2.layer.pooling">pooling (class in paddle.v2.layer)</a>
</li>
<li><ahref="api/v2/model_configs.html#paddle.v2.layer.power">power (class in paddle.v2.layer)</a>
</li>
<li><ahref="api/v2/model_configs.html#paddle.v2.layer.print">print (class in paddle.v2.layer)</a>
</li>
<li><ahref="api/v2/model_configs.html#paddle.v2.layer.priorbox">priorbox (class in paddle.v2.layer)</a>
</li>
</li>
<li><ahref="api/v1/data_provider/pydataprovider2_en.html#paddle.trainer.PyDataProvider2.provider">provider() (in module paddle.trainer.PyDataProvider2)</a>
<li><ahref="api/v1/data_provider/pydataprovider2_en.html#paddle.trainer.PyDataProvider2.provider">provider() (in module paddle.trainer.PyDataProvider2)</a>
<li><strong>layer_attr</strong> (<aclass="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>
<li><strong>layer_attr</strong> (<aclass="reference internal"href="../../v2/model_configs.html#paddle.v2.attr.ExtraLayerAttribute"title="paddle.v2.attr.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) – Extra Layer Attribute.</li>
</ul>
</ul>
</td>
</td>
</tr>
</tr>
...
@@ -929,7 +928,7 @@ to devided by groups.</p>
...
@@ -929,7 +928,7 @@ to devided by groups.</p>
automatically from previous output.</li>
automatically from previous output.</li>
<li><strong>groups</strong> (<em>int</em>) – The group number of input layer.</li>
<li><strong>groups</strong> (<em>int</em>) – The group number of input layer.</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> (<aclass="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>
<li><strong>layer_attr</strong> (<aclass="reference internal"href="../../v2/model_configs.html#paddle.v2.attr.ExtraLayerAttribute"title="paddle.v2.attr.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) – Extra Layer attribute.</li>
</ul>
</ul>
</td>
</td>
</tr>
</tr>
...
@@ -971,7 +970,7 @@ The details please refer to
...
@@ -971,7 +970,7 @@ The details please refer to
<li><strong>power</strong> (<em>float</em>) – The hyper-parameter.</li>
<li><strong>power</strong> (<em>float</em>) – The hyper-parameter.</li>
<li><strong>num_channels</strong>– input layer’s filers number or channels. If
<li><strong>num_channels</strong>– input layer’s filers number or channels. If
num_channels is None, it will be set automatically.</li>
num_channels is None, it will be set automatically.</li>
<li><strong>layer_attr</strong> (<aclass="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>
<li><strong>layer_attr</strong> (<aclass="reference internal"href="../../v2/model_configs.html#paddle.v2.attr.ExtraLayerAttribute"title="paddle.v2.attr.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) – Extra Layer Attribute.</li>
</ul>
</ul>
</td>
</td>
</tr>
</tr>
...
@@ -1033,7 +1032,7 @@ input.</li>
...
@@ -1033,7 +1032,7 @@ input.</li>
initial_std=0, initial_mean=1 is best practice.</li>
initial_std=0, initial_mean=1 is best practice.</li>
<li><strong>param_attr</strong> (<aclass="reference internal"href="attrs.html#paddle.trainer_config_helpers.attrs.ParameterAttribute"title="paddle.trainer_config_helpers.attrs.ParameterAttribute"><em>ParameterAttribute</em></a>) –<spanclass="math">\(\gamma\)</span>, better be one when initialize. So the
<li><strong>param_attr</strong> (<aclass="reference internal"href="attrs.html#paddle.trainer_config_helpers.attrs.ParameterAttribute"title="paddle.trainer_config_helpers.attrs.ParameterAttribute"><em>ParameterAttribute</em></a>) –<spanclass="math">\(\gamma\)</span>, better be one when initialize. So the
initial_std=0, initial_mean=1 is best practice.</li>
initial_std=0, initial_mean=1 is best practice.</li>
<li><strong>layer_attr</strong> (<aclass="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>
<li><strong>layer_attr</strong> (<aclass="reference internal"href="../../v2/model_configs.html#paddle.v2.attr.ExtraLayerAttribute"title="paddle.v2.attr.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) – Extra Layer Attribute.</li>
<li><strong>use_global_stats</strong> (<em>bool|None.</em>) – whether use moving mean/variance statistics
<li><strong>use_global_stats</strong> (<em>bool|None.</em>) – whether use moving mean/variance statistics
during testing peroid. If None or True,
during testing peroid. If None or True,
it will use moving mean/variance statistics during
it will use moving mean/variance statistics during
<li><strong>layer_attr</strong> (<aclass="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>
<li><strong>layer_attr</strong> (<aclass="reference internal"href="../../v2/model_configs.html#paddle.v2.attr.ExtraLayerAttribute"title="paddle.v2.attr.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) – layer’s extra attribute.</li>
</ul>
</ul>
</td>
</td>
</tr>
</tr>
...
@@ -1611,7 +1610,7 @@ then this function will just return layer’s name.</li>
...
@@ -1611,7 +1610,7 @@ then this function will just return layer’s name.</li>
<li><strong>bias_attr</strong> (<aclass="reference internal"href="attrs.html#paddle.trainer_config_helpers.attrs.ParameterAttribute"title="paddle.trainer_config_helpers.attrs.ParameterAttribute"><em>ParameterAttribute</em></a><em> or </em><em>None</em><em> or </em><em>bool</em>) – The Bias Attribute. If no bias, then pass False or
<li><strong>bias_attr</strong> (<aclass="reference internal"href="attrs.html#paddle.trainer_config_helpers.attrs.ParameterAttribute"title="paddle.trainer_config_helpers.attrs.ParameterAttribute"><em>ParameterAttribute</em></a><em> or </em><em>None</em><em> or </em><em>bool</em>) – The Bias Attribute. If no bias, then pass False or
something not type of ParameterAttribute. None will get a
something not type of ParameterAttribute. None will get a
default Bias.</li>
default Bias.</li>
<li><strong>layer_attr</strong> (<aclass="reference internal"href="attrs.html#paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"title="paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) – The extra layer config. Default is None.</li>
<li><strong>layer_attr</strong> (<aclass="reference internal"href="../../v2/model_configs.html#paddle.v2.attr.ExtraLayerAttribute"title="paddle.v2.attr.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) – The extra layer config. Default is None.</li>
</ul>
</ul>
</td>
</td>
</tr>
</tr>
...
@@ -2071,7 +2070,7 @@ Inputs can be list of LayerOutput or list of projection.</p>
...
@@ -2071,7 +2070,7 @@ Inputs can be list of LayerOutput or list of projection.</p>
<li><strong>layer_attr</strong> (<aclass="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>
<li><strong>layer_attr</strong> (<aclass="reference internal"href="../../v2/model_configs.html#paddle.v2.attr.ExtraLayerAttribute"title="paddle.v2.attr.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) – Extra Layer Attribute.</li>
<li><strong>bias_attr</strong> (<aclass="reference internal"href="attrs.html#paddle.trainer_config_helpers.attrs.ParameterAttribute"title="paddle.trainer_config_helpers.attrs.ParameterAttribute"><em>ParameterAttribute</em></a><em> or </em><em>None</em><em> or </em><em>bool</em>) – The Bias Attribute. If no bias, then pass False or
<li><strong>bias_attr</strong> (<aclass="reference internal"href="attrs.html#paddle.trainer_config_helpers.attrs.ParameterAttribute"title="paddle.trainer_config_helpers.attrs.ParameterAttribute"><em>ParameterAttribute</em></a><em> or </em><em>None</em><em> or </em><em>bool</em>) – The Bias Attribute. If no bias, then pass False or
something not type of ParameterAttribute. None will get a
something not type of ParameterAttribute. None will get a
default Bias.</li>
default Bias.</li>
...
@@ -2388,7 +2387,7 @@ LayerOutput.</li>
...
@@ -2388,7 +2387,7 @@ LayerOutput.</li>
<li><strong>act</strong> (<em>BaseActivation</em>) – Activation Type, default is tanh.</li>
<li><strong>act</strong> (<em>BaseActivation</em>) – Activation Type, default is tanh.</li>
<li><strong>bias_attr</strong> (<em>ParameterAttribute|bool</em>) – Bias attribute. If False, means no bias. None is default
<li><strong>bias_attr</strong> (<em>ParameterAttribute|bool</em>) – Bias attribute. If False, means no bias. None is default
bias.</li>
bias.</li>
<li><strong>layer_attr</strong> (<aclass="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>
<li><strong>layer_attr</strong> (<aclass="reference internal"href="../../v2/model_configs.html#paddle.v2.attr.ExtraLayerAttribute"title="paddle.v2.attr.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) – Extra Layer attribute.</li>
</ul>
</ul>
</td>
</td>
</tr>
</tr>
...
@@ -2525,7 +2524,7 @@ which is used in NEURAL TURING MACHINE.</p>
...
@@ -2525,7 +2524,7 @@ which is used in NEURAL TURING MACHINE.</p>
@@ -266,9 +266,9 @@ None if user don’t care.</li>
...
@@ -266,9 +266,9 @@ None if user don’t care.</li>
<li><strong>fc_act</strong> (<em>BaseActivation</em>) – fc layer activation type. None means tanh</li>
<li><strong>fc_act</strong> (<em>BaseActivation</em>) – fc layer activation type. None means tanh</li>
<li><strong>pool_bias_attr</strong> (<aclass="reference internal"href="attrs.html#paddle.trainer_config_helpers.attrs.ParameterAttribute"title="paddle.trainer_config_helpers.attrs.ParameterAttribute"><em>ParameterAttribute</em></a><em> or </em><em>None.</em>) – pooling layer bias attr. None if don’t care.
<li><strong>pool_bias_attr</strong> (<aclass="reference internal"href="attrs.html#paddle.trainer_config_helpers.attrs.ParameterAttribute"title="paddle.trainer_config_helpers.attrs.ParameterAttribute"><em>ParameterAttribute</em></a><em> or </em><em>None.</em>) – pooling layer bias attr. None if don’t care.
False if no bias.</li>
False if no bias.</li>
<li><strong>fc_attr</strong> (<aclass="reference internal"href="attrs.html#paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"title="paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) – fc layer extra attribute.</li>
<li><strong>fc_attr</strong> (<aclass="reference internal"href="../../v2/model_configs.html#paddle.v2.attr.ExtraLayerAttribute"title="paddle.v2.attr.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) – fc layer extra attribute.</li>
<li><strong>context_attr</strong> (<aclass="reference internal"href="attrs.html#paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"title="paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) – context projection layer extra attribute.</li>
<li><strong>context_attr</strong> (<aclass="reference internal"href="../../v2/model_configs.html#paddle.v2.attr.ExtraLayerAttribute"title="paddle.v2.attr.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) – context projection layer extra attribute.</li>
<li><strong>pool_attr</strong> (<aclass="reference internal"href="attrs.html#paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"title="paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) – pooling layer extra attribute.</li>
<li><strong>pool_attr</strong> (<aclass="reference internal"href="../../v2/model_configs.html#paddle.v2.attr.ExtraLayerAttribute"title="paddle.v2.attr.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) – pooling layer extra attribute.</li>
</ul>
</ul>
</td>
</td>
</tr>
</tr>
...
@@ -314,9 +314,9 @@ None if user don’t care.</li>
...
@@ -314,9 +314,9 @@ None if user don’t care.</li>
<li><strong>fc_act</strong> (<em>BaseActivation</em>) – fc layer activation type. None means tanh</li>
<li><strong>fc_act</strong> (<em>BaseActivation</em>) – fc layer activation type. None means tanh</li>
<li><strong>pool_bias_attr</strong> (<aclass="reference internal"href="attrs.html#paddle.trainer_config_helpers.attrs.ParameterAttribute"title="paddle.trainer_config_helpers.attrs.ParameterAttribute"><em>ParameterAttribute</em></a><em> or </em><em>None.</em>) – pooling layer bias attr. None if don’t care.
<li><strong>pool_bias_attr</strong> (<aclass="reference internal"href="attrs.html#paddle.trainer_config_helpers.attrs.ParameterAttribute"title="paddle.trainer_config_helpers.attrs.ParameterAttribute"><em>ParameterAttribute</em></a><em> or </em><em>None.</em>) – pooling layer bias attr. None if don’t care.
False if no bias.</li>
False if no bias.</li>
<li><strong>fc_attr</strong> (<aclass="reference internal"href="attrs.html#paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"title="paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) – fc layer extra attribute.</li>
<li><strong>fc_attr</strong> (<aclass="reference internal"href="../../v2/model_configs.html#paddle.v2.attr.ExtraLayerAttribute"title="paddle.v2.attr.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) – fc layer extra attribute.</li>
<li><strong>context_attr</strong> (<aclass="reference internal"href="attrs.html#paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"title="paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) – context projection layer extra attribute.</li>
<li><strong>context_attr</strong> (<aclass="reference internal"href="../../v2/model_configs.html#paddle.v2.attr.ExtraLayerAttribute"title="paddle.v2.attr.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) – context projection layer extra attribute.</li>
<li><strong>pool_attr</strong> (<aclass="reference internal"href="attrs.html#paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"title="paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) – pooling layer extra attribute.</li>
<li><strong>pool_attr</strong> (<aclass="reference internal"href="../../v2/model_configs.html#paddle.v2.attr.ExtraLayerAttribute"title="paddle.v2.attr.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) – pooling layer extra attribute.</li>
<li><strong>pool_stride</strong> (<em>int</em>) – see img_pool_layer’s document.</li>
<li><strong>pool_stride</strong> (<em>int</em>) – see img_pool_layer’s document.</li>
<li><strong>pool_padding</strong> (<em>int</em>) – see img_pool_layer’s document.</li>
<li><strong>pool_padding</strong> (<em>int</em>) – see img_pool_layer’s document.</li>
<li><strong>pool_layer_attr</strong> (<aclass="reference internal"href="attrs.html#paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"title="paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) – see img_pool_layer’s document.</li>
<li><strong>pool_layer_attr</strong> (<aclass="reference internal"href="../../v2/model_configs.html#paddle.v2.attr.ExtraLayerAttribute"title="paddle.v2.attr.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) – see img_pool_layer’s document.</li>
</ul>
</ul>
</td>
</td>
</tr>
</tr>
...
@@ -440,10 +440,10 @@ False if no bias.</li>
...
@@ -440,10 +440,10 @@ False if no bias.</li>
<li><strong>num_channel</strong> (<em>int</em>) – see img_conv_layer for details</li>
<li><strong>num_channel</strong> (<em>int</em>) – see img_conv_layer for details</li>
<li><strong>param_attr</strong> (<aclass="reference internal"href="attrs.html#paddle.trainer_config_helpers.attrs.ParameterAttribute"title="paddle.trainer_config_helpers.attrs.ParameterAttribute"><em>ParameterAttribute</em></a>) – see img_conv_layer for details</li>
<li><strong>param_attr</strong> (<aclass="reference internal"href="attrs.html#paddle.trainer_config_helpers.attrs.ParameterAttribute"title="paddle.trainer_config_helpers.attrs.ParameterAttribute"><em>ParameterAttribute</em></a>) – see img_conv_layer for details</li>
<li><strong>shared_bias</strong> (<em>bool</em>) – see img_conv_layer for details</li>
<li><strong>shared_bias</strong> (<em>bool</em>) – see img_conv_layer for details</li>
<li><strong>conv_layer_attr</strong> (<aclass="reference internal"href="attrs.html#paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"title="paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) – see img_conv_layer for details</li>
<li><strong>conv_layer_attr</strong> (<aclass="reference internal"href="../../v2/model_configs.html#paddle.v2.attr.ExtraLayerAttribute"title="paddle.v2.attr.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) – see img_conv_layer for details</li>
<li><strong>pool_stride</strong> (<em>int</em>) – see img_pool_layer for details</li>
<li><strong>pool_stride</strong> (<em>int</em>) – see img_pool_layer for details</li>
<li><strong>pool_padding</strong> (<em>int</em>) – see img_pool_layer for details</li>
<li><strong>pool_padding</strong> (<em>int</em>) – see img_pool_layer for details</li>
<li><strong>pool_layer_attr</strong> (<aclass="reference internal"href="attrs.html#paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"title="paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) – see img_pool_layer for details</li>
<li><strong>pool_layer_attr</strong> (<aclass="reference internal"href="../../v2/model_configs.html#paddle.v2.attr.ExtraLayerAttribute"title="paddle.v2.attr.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) – see img_pool_layer for details</li>
</ul>
</ul>
</td>
</td>
</tr>
</tr>
...
@@ -527,9 +527,9 @@ for more details about LSTM. The link goes as follows:
...
@@ -527,9 +527,9 @@ for more details about LSTM. The link goes as follows:
False means no bias, None means default bias.</li>
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> (<aclass="reference internal"href="attrs.html#paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"title="paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) – mixed layer’s extra attribute.</li>
<li><strong>mixed_layer_attr</strong> (<aclass="reference internal"href="../../v2/model_configs.html#paddle.v2.attr.ExtraLayerAttribute"title="paddle.v2.attr.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) – mixed layer’s extra attribute.</li>
<li><strong>lstm_layer_attr</strong> (<aclass="reference internal"href="attrs.html#paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"title="paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) – lstm layer’s extra attribute.</li>
<li><strong>lstm_layer_attr</strong> (<aclass="reference internal"href="../../v2/model_configs.html#paddle.v2.attr.ExtraLayerAttribute"title="paddle.v2.attr.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) – lstm layer’s extra attribute.</li>
<li><strong>get_output_layer_attr</strong> (<aclass="reference internal"href="attrs.html#paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"title="paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) – get output layer’s extra attribute.</li>
<li><strong>get_output_layer_attr</strong> (<aclass="reference internal"href="../../v2/model_configs.html#paddle.v2.attr.ExtraLayerAttribute"title="paddle.v2.attr.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) – get output layer’s extra attribute.</li>
</ul>
</ul>
</td>
</td>
</tr>
</tr>
...
@@ -588,9 +588,9 @@ full_matrix_projection must be included before lstmemory_unit is called.</p>
...
@@ -588,9 +588,9 @@ full_matrix_projection must be included before lstmemory_unit is called.</p>
False means no bias, None means default bias.</li>
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> (<aclass="reference internal"href="attrs.html#paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"title="paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) – mixed layer’s extra attribute.</li>
<li><strong>mixed_layer_attr</strong> (<aclass="reference internal"href="../../v2/model_configs.html#paddle.v2.attr.ExtraLayerAttribute"title="paddle.v2.attr.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) – mixed layer’s extra attribute.</li>
<li><strong>lstm_layer_attr</strong> (<aclass="reference internal"href="attrs.html#paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"title="paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) – lstm layer’s extra attribute.</li>
<li><strong>lstm_layer_attr</strong> (<aclass="reference internal"href="../../v2/model_configs.html#paddle.v2.attr.ExtraLayerAttribute"title="paddle.v2.attr.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) – lstm layer’s extra attribute.</li>
<li><strong>get_output_layer_attr</strong> (<aclass="reference internal"href="attrs.html#paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"title="paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) – get output layer’s extra attribute.</li>
<li><strong>get_output_layer_attr</strong> (<aclass="reference internal"href="../../v2/model_configs.html#paddle.v2.attr.ExtraLayerAttribute"title="paddle.v2.attr.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) – get output layer’s extra attribute.</li>
</ul>
</ul>
</td>
</td>
</tr>
</tr>
...
@@ -633,8 +633,8 @@ means default bias.</li>
...
@@ -633,8 +633,8 @@ means default bias.</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>
<trclass="field-odd field"><thclass="field-name">参数:</th><tdclass="field-body"><strong>name</strong> (<em>basestring</em>) – pooling layer type name used by paddle.</td>
<trclass="field-odd field"><thclass="field-name">参数:</th><tdclass="field-body"><strong>output_max_index</strong> (<em>bool|None</em>) – True if output sequence max index instead of max
value. None means use default value in proto.</td>