<li><strong>size</strong> (<em>int</em>) – The layer dimension.</li>
<li><strong>size</strong> (<em>int</em>) – The layer dimension.</li>
<li><strong>act</strong> (<em>paddle.v2.activation.Base</em>) – Activation Type. paddle.v2.activation.Tanh is the default.</li>
<li><strong>act</strong> (<em>paddle.v2.activation.Base</em>) – Activation Type. paddle.v2.activation.Tanh is the default.</li>
<li><strong>param_attr</strong> (<em>paddle.v2.attr.ParameterAttribute</em>) – The Parameter Attribute|list.</li>
<li><strong>param_attr</strong> (<em>paddle.v2.attr.ParameterAttribute</em>) – The Parameter Attribute|list.</li>
<li><strong>bias_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None | bool | Any</em>) – The Bias Attribute. If the parameter is set to
<li><strong>bias_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None | bool | Any</em>) – The bias attribute. If the parameter is set to False or an object
False or something not type of paddle.v2.attr.ParameterAttribute,
whose type is not paddle.v2.attr.ParameterAttribute, no bias is defined. If the
no bias is defined. If the parameter is set to
parameter is set to True, the bias is initialized to zero.</li>
True, the bias is initialized to zero.</li>
<li><strong>layer_attr</strong> (<em>paddle.v2.attr.ExtraAttribute | None</em>) – Extra Layer config.</li>
<li><strong>layer_attr</strong> (<em>paddle.v2.attr.ExtraAttribute | None</em>) – Extra Layer config.</li>
</ul>
</ul>
</td>
</td>
...
@@ -284,10 +283,9 @@ If is None, acts exactly like fc.</li>
...
@@ -284,10 +283,9 @@ If is None, acts exactly like fc.</li>
<li><strong>size</strong> (<em>int</em>) – The layer dimension.</li>
<li><strong>size</strong> (<em>int</em>) – The layer dimension.</li>
<li><strong>act</strong> (<em>paddle.v2.activation.Base</em>) – Activation type. paddle.v2.activation.Tanh is the default.</li>
<li><strong>act</strong> (<em>paddle.v2.activation.Base</em>) – Activation type. paddle.v2.activation.Tanh is the default.</li>
<li><strong>param_attr</strong> (<em>paddle.v2.attr.ParameterAttribute</em>) – The Parameter Attribute.</li>
<li><strong>param_attr</strong> (<em>paddle.v2.attr.ParameterAttribute</em>) – The Parameter Attribute.</li>
<li><strong>bias_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None | bool | Any</em>) – The Bias Attribute. If the parameter is set to
<li><strong>bias_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None | bool | Any</em>) – The bias attribute. If the parameter is set to False or an object
False or something not type of paddle.v2.attr.ParameterAttribute,
whose type is not paddle.v2.attr.ParameterAttribute, no bias is defined. If the
no bias is defined. If the parameter is set to
parameter is set to True, the bias is initialized to zero.</li>
True, the bias is initialized to zero.</li>
<li><strong>layer_attr</strong> (<em>paddle.v2.attr.ExtraAttribute | None</em>) – Extra Layer config.</li>
<li><strong>layer_attr</strong> (<em>paddle.v2.attr.ExtraAttribute | None</em>) – Extra Layer config.</li>
</ul>
</ul>
</td>
</td>
...
@@ -510,10 +508,9 @@ image dimension</li>
...
@@ -510,10 +508,9 @@ image dimension</li>
<li><strong>dilation</strong> (<em>int | tuple | list</em>) – The x dimension of the dilation. Or input a tuple for two
<li><strong>dilation</strong> (<em>int | tuple | list</em>) – The x dimension of the dilation. Or input a tuple for two
image dimension</li>
image dimension</li>
<li><strong>dilation_y</strong> (<em>int</em>) – The y dimension of the dilation.</li>
<li><strong>dilation_y</strong> (<em>int</em>) – The y dimension of the dilation.</li>
<li><strong>bias_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None | bool | Any</em>) – The Bias Attribute. If the parameter is set to
<li><strong>bias_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None | bool | Any</em>) – The bias attribute. If the parameter is set to False or an object
False or something not type of paddle.v2.attr.ParameterAttribute,
whose type is not paddle.v2.attr.ParameterAttribute, no bias is defined. If the
no bias is defined. If the parameter is set to
parameter is set to True, the bias is initialized to zero.</li>
True, the bias is initialized to zero.</li>
<li><strong>num_channels</strong> (<em>int</em>) – number of input channels. If None will be set
<li><strong>num_channels</strong> (<em>int</em>) – number of input channels. If None will be set
automatically from previous output.</li>
automatically from previous output.</li>
<li><strong>param_attr</strong> (<em>paddle.v2.attr.ParameterAttribute</em>) – Convolution param attribute. None means default attribute</li>
<li><strong>param_attr</strong> (<em>paddle.v2.attr.ParameterAttribute</em>) – Convolution param attribute. None means default attribute</li>
...
@@ -617,9 +614,10 @@ number plus one equals context_len.</p>
...
@@ -617,9 +614,10 @@ number plus one equals context_len.</p>
<li><strong>context_len</strong> (<em>int</em>) – The context length equals the lookahead step number
<li><strong>context_len</strong> (<em>int</em>) – The context length equals the lookahead step number
plus one.</li>
plus one.</li>
<li><strong>act</strong> (<em>paddle.v2.activation.Base</em>) – Activation Type. paddle.v2.activation.Linear is the default.</li>
<li><strong>act</strong> (<em>paddle.v2.activation.Base</em>) – Activation Type. paddle.v2.activation.Linear is the default.</li>
<li><strong>param_attr</strong> (<em>paddle.v2.attr.ParameterAttribute</em>) – The Parameter Attribute. If None, the parameter will be
<li><strong>param_attr</strong> (<em>paddle.v2.attr.ParameterAttribute</em>) – The parameter attribute. See paddle.v2.attr.ParameterAttribute for
initialized smartly. It’s better to set it by yourself.</li>
details.</li>
<li><strong>layer_attr</strong> (<em>paddle.v2.attr.ExtraAttribute | None</em>) – Extra Layer config.</li>
<li><strong>layer_attr</strong> (<em>paddle.v2.attr.ExtraAttribute | None</em>) – The extra layer attribute. See paddle.v2.attr.ExtraAttribute for
<li><strong>input</strong> (<em>paddle.v2.config_base.Layer</em>) – The input of this layer.</li>
<li><strong>input</strong> (<em>paddle.v2.config_base.Layer</em>) – The input of this layer.</li>
<li><strong>act</strong> (<em>paddle.v2.activation.Base</em>) – Activation type. paddle.v2.activation.Tanh is the default.</li>
<li><strong>act</strong> (<em>paddle.v2.activation.Base</em>) – Activation type. paddle.v2.activation.Tanh is the default.</li>
<li><strong>bias_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None | bool | Any</em>) – The Bias Attribute. If the parameter is set to
<li><strong>bias_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None | bool | Any</em>) – The bias attribute. If the parameter is set to False or an object
False or something not type of paddle.v2.attr.ParameterAttribute,
whose type is not paddle.v2.attr.ParameterAttribute, no bias is defined. If the
no bias is defined. If the parameter is set to
parameter is set to True, the bias is initialized to zero.</li>
@@ -1109,10 +1106,9 @@ more details about LSTM.</p>
...
@@ -1109,10 +1106,9 @@ more details about LSTM.</p>
<li><strong>act</strong> (<em>paddle.v2.activation.Base</em>) – Activation type. paddle.v2.activation.Tanh is the default. <spanclass="math">\(h_t\)</span></li>
<li><strong>act</strong> (<em>paddle.v2.activation.Base</em>) – Activation type. paddle.v2.activation.Tanh is the default. <spanclass="math">\(h_t\)</span></li>
<li><strong>gate_act</strong> (<em>paddle.v2.activation.Base</em>) – gate activation type, paddle.v2.activation.Sigmoid by default.</li>
<li><strong>gate_act</strong> (<em>paddle.v2.activation.Base</em>) – gate activation type, paddle.v2.activation.Sigmoid by default.</li>
<li><strong>state_act</strong> (<em>paddle.v2.activation.Base</em>) – state activation type, paddle.v2.activation.Tanh by default.</li>
<li><strong>state_act</strong> (<em>paddle.v2.activation.Base</em>) – state activation type, paddle.v2.activation.Tanh by default.</li>
<li><strong>bias_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None | bool | Any</em>) – The Bias Attribute. If the parameter is set to
<li><strong>bias_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None | bool | Any</em>) – The bias attribute. If the parameter is set to False or an object
False or something not type of paddle.v2.attr.ParameterAttribute,
whose type is not paddle.v2.attr.ParameterAttribute, no bias is defined. If the
no bias is defined. If the parameter is set to
parameter is set to True, the bias is initialized to zero.</li>
<li><strong>layer_attr</strong> (<em>paddle.v2.attr.ExtraAttribute | None</em>) – Extra Layer attribute</li>
<li><strong>layer_attr</strong> (<em>paddle.v2.attr.ExtraAttribute | None</em>) – Extra Layer attribute</li>
</ul>
</ul>
...
@@ -1179,10 +1175,9 @@ affects the <span class="math">\({\tilde{h_t}}\)</span>.</li>
...
@@ -1179,10 +1175,9 @@ affects the <span class="math">\({\tilde{h_t}}\)</span>.</li>
<li><strong>gate_act</strong> (<em>paddle.v2.activation.Base</em>) – gate activation type, paddle.v2.activation.Sigmoid by default.
<li><strong>gate_act</strong> (<em>paddle.v2.activation.Base</em>) – gate activation type, paddle.v2.activation.Sigmoid by default.
This activation affects the <spanclass="math">\(z_t\)</span> and <spanclass="math">\(r_t\)</span>. It is the
This activation affects the <spanclass="math">\(z_t\)</span> and <spanclass="math">\(r_t\)</span>. It is the
<spanclass="math">\(\sigma\)</span> in the above formula.</li>
<spanclass="math">\(\sigma\)</span> in the above formula.</li>
<li><strong>bias_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None | bool | Any</em>) – The Bias Attribute. If the parameter is set to
<li><strong>bias_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None | bool | Any</em>) – The bias attribute. If the parameter is set to False or an object
False or something not type of paddle.v2.attr.ParameterAttribute,
whose type is not paddle.v2.attr.ParameterAttribute, no bias is defined. If the
no bias is defined. If the parameter is set to
parameter is set to True, the bias is initialized to zero.</li>
<li><strong>layer_attr</strong> (<em>paddle.v2.attr.ExtraAttribute | None</em>) – Extra Layer attribute</li>
<li><strong>layer_attr</strong> (<em>paddle.v2.attr.ExtraAttribute | None</em>) – Extra Layer attribute</li>
</ul>
</ul>
...
@@ -1363,10 +1358,9 @@ output is <span class="math">\(o_t\)</span>, whose name is ‘state’ a
...
@@ -1363,10 +1358,9 @@ output is <span class="math">\(o_t\)</span>, whose name is ‘state’ a
<li><strong>act</strong> (<em>paddle.v2.activation.Base</em>) – Activation type. paddle.v2.activation.Tanh is the default.</li>
<li><strong>act</strong> (<em>paddle.v2.activation.Base</em>) – Activation type. paddle.v2.activation.Tanh is the default.</li>
<li><strong>gate_act</strong> (<em>paddle.v2.activation.Base</em>) – Gate Activation Type. paddle.v2.activation.Sigmoid is the default.</li>
<li><strong>gate_act</strong> (<em>paddle.v2.activation.Base</em>) – Gate Activation Type. paddle.v2.activation.Sigmoid is the default.</li>
<li><strong>state_act</strong> (<em>paddle.v2.activation.Base</em>) – State Activation Type. paddle.v2.activation.Tanh is the default.</li>
<li><strong>state_act</strong> (<em>paddle.v2.activation.Base</em>) – State Activation Type. paddle.v2.activation.Tanh is the default.</li>
<li><strong>bias_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None | bool | Any</em>) – The Bias Attribute. If the parameter is set to
<li><strong>bias_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None | bool | Any</em>) – The bias attribute. If the parameter is set to False or an object
False or something not type of paddle.v2.attr.ParameterAttribute,
whose type is not paddle.v2.attr.ParameterAttribute, no bias is defined. If the
no bias is defined. If the parameter is set to
parameter is set to True, the bias is initialized to zero.</li>
True, the bias is initialized to zero.</li>
<li><strong>layer_attr</strong> (<em>paddle.v2.attr.ExtraAttribute</em>) – layer’s extra attribute.</li>
<li><strong>layer_attr</strong> (<em>paddle.v2.attr.ExtraAttribute</em>) – layer’s extra attribute.</li>
</ul>
</ul>
</td>
</td>
...
@@ -1398,10 +1392,9 @@ True, the bias is initialized to zero.</li>
...
@@ -1398,10 +1392,9 @@ True, the bias is initialized to zero.</li>
<li><strong>name</strong>– The name of this layer. It is optional.</li>
<li><strong>name</strong>– The name of this layer. It is optional.</li>
<li><strong>gate_act</strong> (<em>paddle.v2.activation.Base</em>) – Activation type of this layer’s two gates. Default is Sigmoid.</li>
<li><strong>gate_act</strong> (<em>paddle.v2.activation.Base</em>) – Activation type of this layer’s two gates. Default is Sigmoid.</li>
<li><strong>bias_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None | bool | Any</em>) – The Bias Attribute. If the parameter is set to
<li><strong>bias_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None | bool | Any</em>) – The bias attribute. If the parameter is set to False or an object
False or something not type of paddle.v2.attr.ParameterAttribute,
whose type is not paddle.v2.attr.ParameterAttribute, no bias is defined. If the
no bias is defined. If the parameter is set to
parameter is set to True, the bias is initialized to zero.</li>
True, the bias is initialized to zero.</li>
<li><strong>param_attr</strong>– the parameter_attribute for transforming the output_mem
<li><strong>param_attr</strong>– the parameter_attribute for transforming the output_mem
from previous step.</li>
from previous step.</li>
<li><strong>layer_attr</strong>–</li>
<li><strong>layer_attr</strong>–</li>
...
@@ -1571,10 +1564,9 @@ Each inputs is a projection or operator.</p>
...
@@ -1571,10 +1564,9 @@ Each inputs is a projection or operator.</p>
<li><strong>input</strong>– The input of this layer. It is an optional parameter. If set,
<li><strong>input</strong>– The input of this layer. It is an optional parameter. If set,
then this function will just return layer’s name.</li>
then this function will just return layer’s name.</li>
<li><strong>act</strong> (<em>paddle.v2.activation.Base</em>) – Activation Type. paddle.v2.activation.Linear is the default.</li>
<li><strong>act</strong> (<em>paddle.v2.activation.Base</em>) – Activation Type. paddle.v2.activation.Linear is the default.</li>
<li><strong>bias_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None | bool | Any</em>) – The Bias Attribute. If the parameter is set to
<li><strong>bias_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None | bool | Any</em>) – The bias attribute. If the parameter is set to False or an object
False or something not type of paddle.v2.attr.ParameterAttribute,
whose type is not paddle.v2.attr.ParameterAttribute, no bias is defined. If the
no bias is defined. If the parameter is set to
parameter is set to True, the bias is initialized to zero.</li>
True, the bias is initialized to zero.</li>
<li><strong>layer_attr</strong> (<em>paddle.v2.attr.ExtraAttribute</em>) – The extra layer config. Default is None.</li>
<li><strong>layer_attr</strong> (<em>paddle.v2.attr.ExtraAttribute</em>) – The extra layer config. Default is None.</li>
<li><strong>pooling_type</strong> (<em>BasePoolingType | None</em>) – Type of pooling, MaxPooling(default), AvgPooling,
<li><strong>pooling_type</strong> (<em>BasePoolingType | None</em>) – Type of pooling, MaxPooling(default), AvgPooling,
SumPooling, SquareRootNPooling.</li>
SumPooling, SquareRootNPooling.</li>
<li><strong>stride</strong> (<em>Int</em>) – The step size between successive pooling regions.</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 | bool | Any</em>) – The Bias Attribute. If the parameter is set to
<li><strong>bias_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None | bool | Any</em>) – The bias attribute. If the parameter is set to False or an object
False or something not type of paddle.v2.attr.ParameterAttribute,
whose type is not paddle.v2.attr.ParameterAttribute, no bias is defined. If the
no bias is defined. If the parameter is set to
parameter is set to True, the bias is initialized to zero.</li>
True, the bias is initialized to zero.</li>
<li><strong>layer_attr</strong> (<em>paddle.v2.attr.ExtraAttribute | None</em>) – The Extra Attributes for layer, such as dropout.</li>
<li><strong>layer_attr</strong> (<em>paddle.v2.attr.ExtraAttribute | None</em>) – The Extra Attributes for layer, such as dropout.</li>
</ul>
</ul>
</td>
</td>
...
@@ -2162,10 +2153,9 @@ processed in one batch.</p>
...
@@ -2162,10 +2153,9 @@ processed in one batch.</p>
<li><strong>act</strong> (<em>paddle.v2.activation.Base</em>) – Activation type. paddle.v2.activation.Identity is the default.</li>
<li><strong>act</strong> (<em>paddle.v2.activation.Base</em>) – Activation type. paddle.v2.activation.Identity is the default.</li>
<li><strong>layer_attr</strong> (<em>paddle.v2.attr.ExtraAttribute</em>) – Extra Layer Attribute.</li>
<li><strong>layer_attr</strong> (<em>paddle.v2.attr.ExtraAttribute</em>) – Extra Layer Attribute.</li>
<li><strong>bias_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None | bool | Any</em>) – The Bias Attribute. If the parameter is set to
<li><strong>bias_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None | bool | Any</em>) – The bias attribute. If the parameter is set to False or an object
False or something not type of paddle.v2.attr.ParameterAttribute,
whose type is not paddle.v2.attr.ParameterAttribute, no bias is defined. If the
no bias is defined. If the parameter is set to
parameter is set to True, the bias is initialized to zero.</li>
True, the bias is initialized to zero.</li>
</ul>
</ul>
</td>
</td>
</tr>
</tr>
...
@@ -2367,10 +2357,9 @@ sequence is one) to sequence data.”</p>
...
@@ -2367,10 +2357,9 @@ sequence is one) to sequence data.”</p>
<li><strong>input</strong> (<em>paddle.v2.config_base.Layer</em>) – The input of this layer.</li>
<li><strong>input</strong> (<em>paddle.v2.config_base.Layer</em>) – The input of this layer.</li>
<li><strong>expand_as</strong> (<em>paddle.v2.config_base.Layer</em>) – Expand as this layer’s sequence info.</li>
<li><strong>expand_as</strong> (<em>paddle.v2.config_base.Layer</em>) – Expand as this layer’s sequence info.</li>
<li><strong>name</strong> (<em>basestring</em>) – The name of this layer. It is optional.</li>
<li><strong>name</strong> (<em>basestring</em>) – The name of this layer. It is optional.</li>
<li><strong>bias_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None | bool | Any</em>) – The Bias Attribute. If the parameter is set to
<li><strong>bias_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None | bool | Any</em>) – The bias attribute. If the parameter is set to False or an object
False or something not type of paddle.v2.attr.ParameterAttribute,
whose type is not paddle.v2.attr.ParameterAttribute, no bias is defined. If the
no bias is defined. If the parameter is set to
parameter is set to True, the bias is initialized to zero.</li>
True, the bias is initialized to zero.</li>
<li><strong>expand_level</strong> (<em>ExpandLevel</em>) – whether input layer is timestep(default) or sequence.</li>
<li><strong>expand_level</strong> (<em>ExpandLevel</em>) – whether input layer is timestep(default) or sequence.</li>
<li><strong>layer_attr</strong> (<em>paddle.v2.attr.ExtraAttribute</em>) – extra layer attributes.</li>
<li><strong>layer_attr</strong> (<em>paddle.v2.attr.ExtraAttribute</em>) – extra layer attributes.</li>
</ul>
</ul>
...
@@ -2498,10 +2487,9 @@ output sequence has T*M/N instances, the dimension of each instance is N.</p>
...
@@ -2498,10 +2487,9 @@ output sequence has T*M/N instances, the dimension of each instance is N.</p>
<li><strong>name</strong> (<em>basestring</em>) – The name of this layer. It is optional.</li>
<li><strong>name</strong> (<em>basestring</em>) – The name of this layer. It is optional.</li>
<li><strong>act</strong> (<em>paddle.v2.activation.Base</em>) – Activation type. paddle.v2.activation.Identity is the default.</li>
<li><strong>act</strong> (<em>paddle.v2.activation.Base</em>) – Activation type. paddle.v2.activation.Identity is the default.</li>
<li><strong>layer_attr</strong> (<em>paddle.v2.attr.ExtraAttribute</em>) – extra layer attributes.</li>
<li><strong>layer_attr</strong> (<em>paddle.v2.attr.ExtraAttribute</em>) – extra layer attributes.</li>
<li><strong>bias_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None | bool | Any</em>) – The Bias Attribute. If the parameter is set to
<li><strong>bias_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None | bool | Any</em>) – The bias attribute. If the parameter is set to False or an object
False or something not type of paddle.v2.attr.ParameterAttribute,
whose type is not paddle.v2.attr.ParameterAttribute, no bias is defined. If the
no bias is defined. If the parameter is set to
parameter is set to True, the bias is initialized to zero.</li>
True, the bias is initialized to zero.</li>
</ul>
</ul>
</td>
</td>
</tr>
</tr>
...
@@ -2554,10 +2542,9 @@ Please refer to dropout for details.</p>
...
@@ -2554,10 +2542,9 @@ Please refer to dropout for details.</p>
<li><strong>input</strong> (<em>paddle.v2.config_base.Layer | list | tuple</em>) – Input layers. It could be a paddle.v2.config_base.Layer or list/tuple of
<li><strong>input</strong> (<em>paddle.v2.config_base.Layer | list | tuple</em>) – Input layers. It could be a paddle.v2.config_base.Layer or list/tuple of
paddle.v2.config_base.Layer.</li>
paddle.v2.config_base.Layer.</li>
<li><strong>act</strong> (<em>paddle.v2.activation.Base</em>) – Activation Type. paddle.v2.activation.Linear is the default.</li>
<li><strong>act</strong> (<em>paddle.v2.activation.Base</em>) – Activation Type. paddle.v2.activation.Linear is the default.</li>
<li><strong>bias_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None | bool | Any</em>) – The Bias Attribute. If the parameter is set to
<li><strong>bias_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None | bool | Any</em>) – The bias attribute. If the parameter is set to False or an object
False or something not type of paddle.v2.attr.ParameterAttribute,
whose type is not paddle.v2.attr.ParameterAttribute, no bias is defined. If the
no bias is defined. If the parameter is set to
parameter is set to True, the bias is initialized to zero.</li>
True, the bias is initialized to zero.</li>
<li><strong>layer_attr</strong> (<em>paddle.v2.attr.ExtraAttribute</em>) – Extra Layer attribute.</li>
<li><strong>layer_attr</strong> (<em>paddle.v2.attr.ExtraAttribute</em>) – Extra Layer attribute.</li>
</ul>
</ul>
</td>
</td>
...
@@ -2817,11 +2804,11 @@ ight)</p>
...
@@ -2817,11 +2804,11 @@ ight)</p>
</tr>
</tr>
<trclass="field-odd field"><thclass="field-name">param min:</th><tdclass="field-body">The lower threshold for clipping.</td>
<trclass="field-odd field"><thclass="field-name">param min:</th><tdclass="field-body">The lower threshold for clipping.</td>
@@ -2935,10 +2922,9 @@ For example, each sample:</p>
...
@@ -2935,10 +2922,9 @@ For example, each sample:</p>
<li><strong>size</strong> (<em>int.</em>) – the layer dimension.</li>
<li><strong>size</strong> (<em>int.</em>) – the layer dimension.</li>
<li><strong>act</strong> (<em>paddle.v2.activation.Base</em>) – Activation type. paddle.v2.activation.Linear is the default.</li>
<li><strong>act</strong> (<em>paddle.v2.activation.Base</em>) – Activation type. paddle.v2.activation.Linear is the default.</li>
<li><strong>param_attr</strong> (<em>paddle.v2.attr.ParameterAttribute</em>) – The Parameter Attribute.</li>
<li><strong>param_attr</strong> (<em>paddle.v2.attr.ParameterAttribute</em>) – The Parameter Attribute.</li>
<li><strong>bias_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None | bool | Any</em>) – The Bias Attribute. If the parameter is set to
<li><strong>bias_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None | bool | Any</em>) – The bias attribute. If the parameter is set to False or an object
False or something not type of paddle.v2.attr.ParameterAttribute,
whose type is not paddle.v2.attr.ParameterAttribute, no bias is defined. If the
no bias is defined. If the parameter is set to
parameter is set to True, the bias is initialized to zero.</li>
True, the bias is initialized to zero.</li>
<li><strong>layer_attr</strong> (<em>paddle.v2.attr.ExtraAttribute | None</em>) – Extra Layer config.</li>
<li><strong>layer_attr</strong> (<em>paddle.v2.attr.ExtraAttribute | None</em>) – Extra Layer config.</li>
<li><strong>name</strong> (<em>basestring</em>) – The name of this layer. It is optional.</li>
<li><strong>name</strong> (<em>basestring</em>) – The name of this layer. It is optional.</li>
<li><strong>input</strong> (<em>paddle.v2.config_base.Layer</em>) – The input of this layer.</li>
<li><strong>input</strong> (<em>paddle.v2.config_base.Layer</em>) – The input of this layer.</li>
<li><strong>param_attr</strong> (<em>paddle.v2.attr.ParameterAttribute</em>) – The parameter attribute of scaling.</li>
<li><strong>param_attr</strong> (<em>paddle.v2.attr.ParameterAttribute</em>) – The parameter attribute of scaling. See paddle.v2.attr.ParameterAttribute for
<li><strong>bias_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None | bool | Any</em>) – The Bias Attribute. If the parameter is set to
details.</li>
False or something not type of paddle.v2.attr.ParameterAttribute,
<li><strong>bias_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None | bool | Any</em>) – The bias attribute. If the parameter is set to False or an object
no bias is defined. If the parameter is set to
whose type is not paddle.v2.attr.ParameterAttribute, no bias is defined. If the
True, the bias is initialized to zero.</li>
parameter is set to True, the bias is initialized to zero.</li>
</ul>
</ul>
</td>
</td>
</tr>
</tr>
...
@@ -3147,12 +3133,12 @@ Sampling one id for one sample.</p>
...
@@ -3147,12 +3133,12 @@ Sampling one id for one sample.</p>
<li><strong>input</strong> (<em>paddle.v2.config_base.Layer.</em>) – The input of this layer.</li>
<li><strong>input</strong> (<em>paddle.v2.config_base.Layer</em>) – The input of this layer.</li>
<li><strong>name</strong> (<em>None | basestring.</em>) – The name of this layer. It is optional.</li>
<li><strong>name</strong> (<em>basestring</em>) – The name of this layer. It is optional.</li>
<li><strong>layer_attr</strong> (<em>paddle.v2.attr.ExtraAttribute</em>) – Extra Layer Attribute.</li>
<li><strong>layer_attr</strong> (<em>paddle.v2.attr.ExtraAttribute</em>) – The extra layer attribute. See paddle.v2.attr.ExtraAttribute for
details.</li>
</ul>
</ul>
</td>
</td>
</tr>
</tr>
...
@@ -3875,10 +3872,9 @@ A fast and simple algorithm for training neural probabilistic language models.</
...
@@ -3875,10 +3872,9 @@ A fast and simple algorithm for training neural probabilistic language models.</
<li><strong>neg_distribution</strong> (<em>list | tuple | collections.Sequence | None</em>) – The distribution for generating the random negative labels.
<li><strong>neg_distribution</strong> (<em>list | tuple | collections.Sequence | None</em>) – The distribution for generating the random negative labels.
A uniform distribution will be used if not provided.
A uniform distribution will be used if not provided.
If not None, its length must be equal to num_classes.</li>
If not None, its length must be equal to num_classes.</li>
<li><strong>bias_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None | bool | Any</em>) – The Bias Attribute. If the parameter is set to
<li><strong>bias_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None | bool | Any</em>) – The bias attribute. If the parameter is set to False or an object
False or something not type of paddle.v2.attr.ParameterAttribute,
whose type is not paddle.v2.attr.ParameterAttribute, no bias is defined. If the
no bias is defined. If the parameter is set to
parameter is set to True, the bias is initialized to zero.</li>
True, the bias is initialized to zero.</li>
<li><strong>layer_attr</strong> (<em>paddle.v2.attr.ExtraAttribute</em>) – Extra Layer Attribute.</li>
<li><strong>layer_attr</strong> (<em>paddle.v2.attr.ExtraAttribute</em>) – Extra Layer Attribute.</li>
</ul>
</ul>
</td>
</td>
...
@@ -3917,10 +3913,9 @@ Hierarchical Probabilistic Neural Network Language Model.”</p>
...
@@ -3917,10 +3913,9 @@ Hierarchical Probabilistic Neural Network Language Model.”</p>
<li><strong>num_classes</strong> (<em>int | None</em>) – number of classes.</li>
<li><strong>num_classes</strong> (<em>int | None</em>) – number of classes.</li>
<li><strong>name</strong> (<em>basestring</em>) – The name of this layer. It is optional.</li>
<li><strong>name</strong> (<em>basestring</em>) – The name of this layer. It is optional.</li>
<li><strong>bias_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None | bool | Any</em>) – The Bias Attribute. If the parameter is set to
<li><strong>bias_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None | bool | Any</em>) – The bias attribute. If the parameter is set to False or an object
False or something not type of paddle.v2.attr.ParameterAttribute,
whose type is not paddle.v2.attr.ParameterAttribute, no bias is defined. If the
no bias is defined. If the parameter is set to
parameter is set to True, the bias is initialized to zero.</li>
<li><strong>name</strong> (<em>basestring</em>) – The name of this layer. It is optional.</li>
<li><strong>name</strong> (<em>basestring</em>) – The name of this layer. It is optional.</li>
<li><strong>input</strong> (<em>paddle.v2.config_base.Layer</em>) – The input of this layer.</li>
<li><strong>input</strong> (<em>paddle.v2.config_base.Layer</em>) – The input of this layer.</li>
<li><strong>partial_sum</strong> (<em>int</em>) –<p>this parameter makes a group of inputs share a same weight.</p>
<li><strong>partial_sum</strong> (<em>int</em>) –<p>this parameter makes a group of inputs share the same weight.</p>
<ul>
<ul>
<li>partial_sum = 1, indicates the element-wise activation: each element has a weight.</li>
<li>partial_sum = 1, indicates the element-wise activation: each element has a weight.</li>
<li>partial_sum = number of elements in one channel, indicates the channel-wise activation, elements in a channel share a same weight.</li>
<li>partial_sum = number of elements in one channel, indicates the channel-wise activation, elements in a channel share the same weight.</li>
<li>partial_sum = number of outputs, indicates all elements share a same weight.</li>
<li>partial_sum = number of outputs, indicates all elements share the same weight.</li>
</ul>
</ul>
</li>
</li>
<li><strong>param_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None</em>) – The parameter attribute. See paddle.v2.attr.ParameterAttribute for details.</li>
<li><strong>param_attr</strong> (<em>paddle.v2.attr.ParameterAttribute</em>) – The parameter attribute. See paddle.v2.attr.ParameterAttribute for details.</li>
<li><strong>layer_attr</strong> (<em>paddle.v2.attr.ExtraAttribute | None</em>) – Extra layer configurations. Default is None.</li>
<li><strong>layer_attr</strong> (<em>paddle.v2.attr.ExtraAttribute | None</em>) – The extra layer attribute. See paddle.v2.attr.ExtraAttribute for
details.</li>
</ul>
</ul>
</td>
</td>
</tr>
</tr>
...
@@ -4158,25 +4160,25 @@ product between <a href="#id11"><span class="problematic" id="id12">:match:`X
...
@@ -4158,25 +4160,25 @@ product between <a href="#id11"><span class="problematic" id="id12">:match:`X
<li><strong>input</strong> (<em>paddle.v2.config_base.Layer</em>) – The input of this layer.</li>
<li><strong>input</strong> (<em>paddle.v2.config_base.Layer</em>) – The input of this layer.</li>
<li><strong>size</strong> (<em>int</em>) –output size of the gated unit.</li>
<li><strong>size</strong> (<em>int</em>) –The dimension of this layer’s output.</li>
<li><strong>act</strong> (<em>paddle.v2.activation.Base</em>) – Activation type of the projected input. paddle.v2.activation.Linear is the default.</li>
<li><strong>act</strong> (<em>paddle.v2.activation.Base</em>) – Activation type of the projection. paddle.v2.activation.Linear is the default.</li>
<li><strong>name</strong> (<em>basestring</em>) – The name of this layer. It is optional.</li>
<li><strong>name</strong> (<em>basestring</em>) – The name of this layer. It is optional.</li>
<li><strong>gate_attr</strong> (<em>paddle.v2.attr.ExtraAttribute | None</em>) –Attributes to tune the gate output, for example, error
<li><strong>gate_attr</strong> (<em>paddle.v2.attr.ExtraAttribute | None</em>) –The extra layer attribute of the gate. See paddle.v2.attr.ExtraAttribute for
clipping threshold, dropout and so on. See paddle.v2.attr.ExtraAttribute for
details.</li>
more details.</li>
<li><strong>gate_param_attr</strong> (<em>paddle.v2.attr.ParameterAttribute</em>) – The parameter attribute of the gate. See paddle.v2.attr.ParameterAttribute
<li><strong>gate_param_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None</em>) – Attributes to tune the learnable projected matrix
for details.</li>
parameter of the gate.</li>
<li><strong>gate_bias_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | bool | None | Any</em>) – The bias attribute of the gate. If the parameter is set to False or
<li><strong>gate_bias_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None</em>) – Attributes to tune the learnable bias of the gate.</li>
an object whose type is not paddle.v2.attr.ParameterAttribute, no bias is defined.
<li><strong>inproj_attr</strong> (<em>paddle.v2.attr.ExtraAttribute | None</em>) – Attributes to the tune the projected input, for
If the parameter is set to True, the bias is initialized to zero.</li>
example, error clipping threshold, dropout and so on. See
<li><strong>inproj_attr</strong> (<em>paddle.v2.attr.ExtraAttribute | None</em>) – Extra layer attributes of the projection. See paddle.v2.attr.ExtraAttribute for
paddle.v2.attr.ExtraAttribute for more details.</li>
details.</li>
<li><strong>inproj_param_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None</em>) – Attributes to tune the learnable parameter of
<li><strong>inproj_param_attr</strong> (<em>paddle.v2.attr.ParameterAttribute</em>) – The parameter attribute of the projection. See paddle.v2.attr.ParameterAttribute
the projection of input.</li>
for details.</li>
<li><strong>inproj_bias_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None</em>) – Attributes to tune the learnable bias of
<li><strong>inproj_bias_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | bool | None | Any</em>) – The bias attribute of the projection. If the parameter is set to False
projection of the input.</li>
or an object whose type is not paddle.v2.attr.ParameterAttribute, no bias is defined.
<li><strong>layer_attr</strong> (<em>paddle.v2.attr.ExtraAttribute | None</em>) – Attributes to tune the final output of the gated unit,
If the parameter is set to True, the bias is initialized to zero.</li>
for example, error clipping threshold, dropout and so on. See
<li><strong>layer_attr</strong> (<em>paddle.v2.attr.ExtraAttribute | None</em>) – Extra layer attribute of the product. See paddle.v2.attr.ExtraAttribute for
paddle.v2.attr.ExtraAttribute for more details.</li>
<li><strong>size</strong> (<em>int</em>) – The layer dimension.</li>
<li><strong>size</strong> (<em>int</em>) – The layer dimension.</li>
<li><strong>act</strong> (<em>paddle.v2.activation.Base</em>) – Activation Type. paddle.v2.activation.Tanh is the default.</li>
<li><strong>act</strong> (<em>paddle.v2.activation.Base</em>) – Activation Type. paddle.v2.activation.Tanh is the default.</li>
<li><strong>param_attr</strong> (<em>paddle.v2.attr.ParameterAttribute</em>) – The Parameter Attribute|list.</li>
<li><strong>param_attr</strong> (<em>paddle.v2.attr.ParameterAttribute</em>) – The Parameter Attribute|list.</li>
<li><strong>bias_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None | bool | Any</em>) – The Bias Attribute. If the parameter is set to
<li><strong>bias_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None | bool | Any</em>) – The bias attribute. If the parameter is set to False or an object
False or something not type of paddle.v2.attr.ParameterAttribute,
whose type is not paddle.v2.attr.ParameterAttribute, no bias is defined. If the
no bias is defined. If the parameter is set to
parameter is set to True, the bias is initialized to zero.</li>
True, the bias is initialized to zero.</li>
<li><strong>layer_attr</strong> (<em>paddle.v2.attr.ExtraAttribute | None</em>) – Extra Layer config.</li>
<li><strong>layer_attr</strong> (<em>paddle.v2.attr.ExtraAttribute | None</em>) – Extra Layer config.</li>
</ul>
</ul>
</td>
</td>
...
@@ -298,10 +297,9 @@ If is None, acts exactly like fc.</li>
...
@@ -298,10 +297,9 @@ If is None, acts exactly like fc.</li>
<li><strong>size</strong> (<em>int</em>) – The layer dimension.</li>
<li><strong>size</strong> (<em>int</em>) – The layer dimension.</li>
<li><strong>act</strong> (<em>paddle.v2.activation.Base</em>) – Activation type. paddle.v2.activation.Tanh is the default.</li>
<li><strong>act</strong> (<em>paddle.v2.activation.Base</em>) – Activation type. paddle.v2.activation.Tanh is the default.</li>
<li><strong>param_attr</strong> (<em>paddle.v2.attr.ParameterAttribute</em>) – The Parameter Attribute.</li>
<li><strong>param_attr</strong> (<em>paddle.v2.attr.ParameterAttribute</em>) – The Parameter Attribute.</li>
<li><strong>bias_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None | bool | Any</em>) – The Bias Attribute. If the parameter is set to
<li><strong>bias_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None | bool | Any</em>) – The bias attribute. If the parameter is set to False or an object
False or something not type of paddle.v2.attr.ParameterAttribute,
whose type is not paddle.v2.attr.ParameterAttribute, no bias is defined. If the
no bias is defined. If the parameter is set to
parameter is set to True, the bias is initialized to zero.</li>
True, the bias is initialized to zero.</li>
<li><strong>layer_attr</strong> (<em>paddle.v2.attr.ExtraAttribute | None</em>) – Extra Layer config.</li>
<li><strong>layer_attr</strong> (<em>paddle.v2.attr.ExtraAttribute | None</em>) – Extra Layer config.</li>
</ul>
</ul>
</td>
</td>
...
@@ -524,10 +522,9 @@ image dimension</li>
...
@@ -524,10 +522,9 @@ image dimension</li>
<li><strong>dilation</strong> (<em>int | tuple | list</em>) – The x dimension of the dilation. Or input a tuple for two
<li><strong>dilation</strong> (<em>int | tuple | list</em>) – The x dimension of the dilation. Or input a tuple for two
image dimension</li>
image dimension</li>
<li><strong>dilation_y</strong> (<em>int</em>) – The y dimension of the dilation.</li>
<li><strong>dilation_y</strong> (<em>int</em>) – The y dimension of the dilation.</li>
<li><strong>bias_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None | bool | Any</em>) – The Bias Attribute. If the parameter is set to
<li><strong>bias_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None | bool | Any</em>) – The bias attribute. If the parameter is set to False or an object
False or something not type of paddle.v2.attr.ParameterAttribute,
whose type is not paddle.v2.attr.ParameterAttribute, no bias is defined. If the
no bias is defined. If the parameter is set to
parameter is set to True, the bias is initialized to zero.</li>
True, the bias is initialized to zero.</li>
<li><strong>num_channels</strong> (<em>int</em>) – number of input channels. If None will be set
<li><strong>num_channels</strong> (<em>int</em>) – number of input channels. If None will be set
automatically from previous output.</li>
automatically from previous output.</li>
<li><strong>param_attr</strong> (<em>paddle.v2.attr.ParameterAttribute</em>) – Convolution param attribute. None means default attribute</li>
<li><strong>param_attr</strong> (<em>paddle.v2.attr.ParameterAttribute</em>) – Convolution param attribute. None means default attribute</li>
...
@@ -631,9 +628,10 @@ number plus one equals context_len.</p>
...
@@ -631,9 +628,10 @@ number plus one equals context_len.</p>
<li><strong>context_len</strong> (<em>int</em>) – The context length equals the lookahead step number
<li><strong>context_len</strong> (<em>int</em>) – The context length equals the lookahead step number
plus one.</li>
plus one.</li>
<li><strong>act</strong> (<em>paddle.v2.activation.Base</em>) – Activation Type. paddle.v2.activation.Linear is the default.</li>
<li><strong>act</strong> (<em>paddle.v2.activation.Base</em>) – Activation Type. paddle.v2.activation.Linear is the default.</li>
<li><strong>param_attr</strong> (<em>paddle.v2.attr.ParameterAttribute</em>) – The Parameter Attribute. If None, the parameter will be
<li><strong>param_attr</strong> (<em>paddle.v2.attr.ParameterAttribute</em>) – The parameter attribute. See paddle.v2.attr.ParameterAttribute for
initialized smartly. It’s better to set it by yourself.</li>
details.</li>
<li><strong>layer_attr</strong> (<em>paddle.v2.attr.ExtraAttribute | None</em>) – Extra Layer config.</li>
<li><strong>layer_attr</strong> (<em>paddle.v2.attr.ExtraAttribute | None</em>) – The extra layer attribute. See paddle.v2.attr.ExtraAttribute for
<li><strong>input</strong> (<em>paddle.v2.config_base.Layer</em>) – The input of this layer.</li>
<li><strong>input</strong> (<em>paddle.v2.config_base.Layer</em>) – The input of this layer.</li>
<li><strong>act</strong> (<em>paddle.v2.activation.Base</em>) – Activation type. paddle.v2.activation.Tanh is the default.</li>
<li><strong>act</strong> (<em>paddle.v2.activation.Base</em>) – Activation type. paddle.v2.activation.Tanh is the default.</li>
<li><strong>bias_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None | bool | Any</em>) – The Bias Attribute. If the parameter is set to
<li><strong>bias_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None | bool | Any</em>) – The bias attribute. If the parameter is set to False or an object
False or something not type of paddle.v2.attr.ParameterAttribute,
whose type is not paddle.v2.attr.ParameterAttribute, no bias is defined. If the
no bias is defined. If the parameter is set to
parameter is set to True, the bias is initialized to zero.</li>
@@ -1123,10 +1120,9 @@ more details about LSTM.</p>
...
@@ -1123,10 +1120,9 @@ more details about LSTM.</p>
<li><strong>act</strong> (<em>paddle.v2.activation.Base</em>) – Activation type. paddle.v2.activation.Tanh is the default. <spanclass="math">\(h_t\)</span></li>
<li><strong>act</strong> (<em>paddle.v2.activation.Base</em>) – Activation type. paddle.v2.activation.Tanh is the default. <spanclass="math">\(h_t\)</span></li>
<li><strong>gate_act</strong> (<em>paddle.v2.activation.Base</em>) – gate activation type, paddle.v2.activation.Sigmoid by default.</li>
<li><strong>gate_act</strong> (<em>paddle.v2.activation.Base</em>) – gate activation type, paddle.v2.activation.Sigmoid by default.</li>
<li><strong>state_act</strong> (<em>paddle.v2.activation.Base</em>) – state activation type, paddle.v2.activation.Tanh by default.</li>
<li><strong>state_act</strong> (<em>paddle.v2.activation.Base</em>) – state activation type, paddle.v2.activation.Tanh by default.</li>
<li><strong>bias_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None | bool | Any</em>) – The Bias Attribute. If the parameter is set to
<li><strong>bias_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None | bool | Any</em>) – The bias attribute. If the parameter is set to False or an object
False or something not type of paddle.v2.attr.ParameterAttribute,
whose type is not paddle.v2.attr.ParameterAttribute, no bias is defined. If the
no bias is defined. If the parameter is set to
parameter is set to True, the bias is initialized to zero.</li>
<li><strong>layer_attr</strong> (<em>paddle.v2.attr.ExtraAttribute | None</em>) – Extra Layer attribute</li>
<li><strong>layer_attr</strong> (<em>paddle.v2.attr.ExtraAttribute | None</em>) – Extra Layer attribute</li>
</ul>
</ul>
...
@@ -1193,10 +1189,9 @@ affects the <span class="math">\({\tilde{h_t}}\)</span>.</li>
...
@@ -1193,10 +1189,9 @@ affects the <span class="math">\({\tilde{h_t}}\)</span>.</li>
<li><strong>gate_act</strong> (<em>paddle.v2.activation.Base</em>) – gate activation type, paddle.v2.activation.Sigmoid by default.
<li><strong>gate_act</strong> (<em>paddle.v2.activation.Base</em>) – gate activation type, paddle.v2.activation.Sigmoid by default.
This activation affects the <spanclass="math">\(z_t\)</span> and <spanclass="math">\(r_t\)</span>. It is the
This activation affects the <spanclass="math">\(z_t\)</span> and <spanclass="math">\(r_t\)</span>. It is the
<spanclass="math">\(\sigma\)</span> in the above formula.</li>
<spanclass="math">\(\sigma\)</span> in the above formula.</li>
<li><strong>bias_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None | bool | Any</em>) – The Bias Attribute. If the parameter is set to
<li><strong>bias_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None | bool | Any</em>) – The bias attribute. If the parameter is set to False or an object
False or something not type of paddle.v2.attr.ParameterAttribute,
whose type is not paddle.v2.attr.ParameterAttribute, no bias is defined. If the
no bias is defined. If the parameter is set to
parameter is set to True, the bias is initialized to zero.</li>
<li><strong>layer_attr</strong> (<em>paddle.v2.attr.ExtraAttribute | None</em>) – Extra Layer attribute</li>
<li><strong>layer_attr</strong> (<em>paddle.v2.attr.ExtraAttribute | None</em>) – Extra Layer attribute</li>
</ul>
</ul>
...
@@ -1377,10 +1372,9 @@ output is <span class="math">\(o_t\)</span>, whose name is ‘state’ a
...
@@ -1377,10 +1372,9 @@ output is <span class="math">\(o_t\)</span>, whose name is ‘state’ a
<li><strong>act</strong> (<em>paddle.v2.activation.Base</em>) – Activation type. paddle.v2.activation.Tanh is the default.</li>
<li><strong>act</strong> (<em>paddle.v2.activation.Base</em>) – Activation type. paddle.v2.activation.Tanh is the default.</li>
<li><strong>gate_act</strong> (<em>paddle.v2.activation.Base</em>) – Gate Activation Type. paddle.v2.activation.Sigmoid is the default.</li>
<li><strong>gate_act</strong> (<em>paddle.v2.activation.Base</em>) – Gate Activation Type. paddle.v2.activation.Sigmoid is the default.</li>
<li><strong>state_act</strong> (<em>paddle.v2.activation.Base</em>) – State Activation Type. paddle.v2.activation.Tanh is the default.</li>
<li><strong>state_act</strong> (<em>paddle.v2.activation.Base</em>) – State Activation Type. paddle.v2.activation.Tanh is the default.</li>
<li><strong>bias_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None | bool | Any</em>) – The Bias Attribute. If the parameter is set to
<li><strong>bias_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None | bool | Any</em>) – The bias attribute. If the parameter is set to False or an object
False or something not type of paddle.v2.attr.ParameterAttribute,
whose type is not paddle.v2.attr.ParameterAttribute, no bias is defined. If the
no bias is defined. If the parameter is set to
parameter is set to True, the bias is initialized to zero.</li>
True, the bias is initialized to zero.</li>
<li><strong>layer_attr</strong> (<em>paddle.v2.attr.ExtraAttribute</em>) – layer’s extra attribute.</li>
<li><strong>layer_attr</strong> (<em>paddle.v2.attr.ExtraAttribute</em>) – layer’s extra attribute.</li>
</ul>
</ul>
</td>
</td>
...
@@ -1412,10 +1406,9 @@ True, the bias is initialized to zero.</li>
...
@@ -1412,10 +1406,9 @@ True, the bias is initialized to zero.</li>
<li><strong>name</strong>– The name of this layer. It is optional.</li>
<li><strong>name</strong>– The name of this layer. It is optional.</li>
<li><strong>gate_act</strong> (<em>paddle.v2.activation.Base</em>) – Activation type of this layer’s two gates. Default is Sigmoid.</li>
<li><strong>gate_act</strong> (<em>paddle.v2.activation.Base</em>) – Activation type of this layer’s two gates. Default is Sigmoid.</li>
<li><strong>bias_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None | bool | Any</em>) – The Bias Attribute. If the parameter is set to
<li><strong>bias_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None | bool | Any</em>) – The bias attribute. If the parameter is set to False or an object
False or something not type of paddle.v2.attr.ParameterAttribute,
whose type is not paddle.v2.attr.ParameterAttribute, no bias is defined. If the
no bias is defined. If the parameter is set to
parameter is set to True, the bias is initialized to zero.</li>
True, the bias is initialized to zero.</li>
<li><strong>param_attr</strong>– the parameter_attribute for transforming the output_mem
<li><strong>param_attr</strong>– the parameter_attribute for transforming the output_mem
from previous step.</li>
from previous step.</li>
<li><strong>layer_attr</strong>–</li>
<li><strong>layer_attr</strong>–</li>
...
@@ -1585,10 +1578,9 @@ Each inputs is a projection or operator.</p>
...
@@ -1585,10 +1578,9 @@ Each inputs is a projection or operator.</p>
<li><strong>input</strong>– The input of this layer. It is an optional parameter. If set,
<li><strong>input</strong>– The input of this layer. It is an optional parameter. If set,
then this function will just return layer’s name.</li>
then this function will just return layer’s name.</li>
<li><strong>act</strong> (<em>paddle.v2.activation.Base</em>) – Activation Type. paddle.v2.activation.Linear is the default.</li>
<li><strong>act</strong> (<em>paddle.v2.activation.Base</em>) – Activation Type. paddle.v2.activation.Linear is the default.</li>
<li><strong>bias_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None | bool | Any</em>) – The Bias Attribute. If the parameter is set to
<li><strong>bias_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None | bool | Any</em>) – The bias attribute. If the parameter is set to False or an object
False or something not type of paddle.v2.attr.ParameterAttribute,
whose type is not paddle.v2.attr.ParameterAttribute, no bias is defined. If the
no bias is defined. If the parameter is set to
parameter is set to True, the bias is initialized to zero.</li>
True, the bias is initialized to zero.</li>
<li><strong>layer_attr</strong> (<em>paddle.v2.attr.ExtraAttribute</em>) – The extra layer config. Default is None.</li>
<li><strong>layer_attr</strong> (<em>paddle.v2.attr.ExtraAttribute</em>) – The extra layer config. Default is None.</li>
<li><strong>pooling_type</strong> (<em>BasePoolingType | None</em>) – Type of pooling, MaxPooling(default), AvgPooling,
<li><strong>pooling_type</strong> (<em>BasePoolingType | None</em>) – Type of pooling, MaxPooling(default), AvgPooling,
SumPooling, SquareRootNPooling.</li>
SumPooling, SquareRootNPooling.</li>
<li><strong>stride</strong> (<em>Int</em>) – The step size between successive pooling regions.</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 | bool | Any</em>) – The Bias Attribute. If the parameter is set to
<li><strong>bias_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None | bool | Any</em>) – The bias attribute. If the parameter is set to False or an object
False or something not type of paddle.v2.attr.ParameterAttribute,
whose type is not paddle.v2.attr.ParameterAttribute, no bias is defined. If the
no bias is defined. If the parameter is set to
parameter is set to True, the bias is initialized to zero.</li>
True, the bias is initialized to zero.</li>
<li><strong>layer_attr</strong> (<em>paddle.v2.attr.ExtraAttribute | None</em>) – The Extra Attributes for layer, such as dropout.</li>
<li><strong>layer_attr</strong> (<em>paddle.v2.attr.ExtraAttribute | None</em>) – The Extra Attributes for layer, such as dropout.</li>
</ul>
</ul>
</td>
</td>
...
@@ -2176,10 +2167,9 @@ processed in one batch.</p>
...
@@ -2176,10 +2167,9 @@ processed in one batch.</p>
<li><strong>act</strong> (<em>paddle.v2.activation.Base</em>) – Activation type. paddle.v2.activation.Identity is the default.</li>
<li><strong>act</strong> (<em>paddle.v2.activation.Base</em>) – Activation type. paddle.v2.activation.Identity is the default.</li>
<li><strong>layer_attr</strong> (<em>paddle.v2.attr.ExtraAttribute</em>) – Extra Layer Attribute.</li>
<li><strong>layer_attr</strong> (<em>paddle.v2.attr.ExtraAttribute</em>) – Extra Layer Attribute.</li>
<li><strong>bias_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None | bool | Any</em>) – The Bias Attribute. If the parameter is set to
<li><strong>bias_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None | bool | Any</em>) – The bias attribute. If the parameter is set to False or an object
False or something not type of paddle.v2.attr.ParameterAttribute,
whose type is not paddle.v2.attr.ParameterAttribute, no bias is defined. If the
no bias is defined. If the parameter is set to
parameter is set to True, the bias is initialized to zero.</li>
True, the bias is initialized to zero.</li>
</ul>
</ul>
</td>
</td>
</tr>
</tr>
...
@@ -2381,10 +2371,9 @@ sequence is one) to sequence data.”</p>
...
@@ -2381,10 +2371,9 @@ sequence is one) to sequence data.”</p>
<li><strong>input</strong> (<em>paddle.v2.config_base.Layer</em>) – The input of this layer.</li>
<li><strong>input</strong> (<em>paddle.v2.config_base.Layer</em>) – The input of this layer.</li>
<li><strong>expand_as</strong> (<em>paddle.v2.config_base.Layer</em>) – Expand as this layer’s sequence info.</li>
<li><strong>expand_as</strong> (<em>paddle.v2.config_base.Layer</em>) – Expand as this layer’s sequence info.</li>
<li><strong>name</strong> (<em>basestring</em>) – The name of this layer. It is optional.</li>
<li><strong>name</strong> (<em>basestring</em>) – The name of this layer. It is optional.</li>
<li><strong>bias_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None | bool | Any</em>) – The Bias Attribute. If the parameter is set to
<li><strong>bias_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None | bool | Any</em>) – The bias attribute. If the parameter is set to False or an object
False or something not type of paddle.v2.attr.ParameterAttribute,
whose type is not paddle.v2.attr.ParameterAttribute, no bias is defined. If the
no bias is defined. If the parameter is set to
parameter is set to True, the bias is initialized to zero.</li>
True, the bias is initialized to zero.</li>
<li><strong>expand_level</strong> (<em>ExpandLevel</em>) – whether input layer is timestep(default) or sequence.</li>
<li><strong>expand_level</strong> (<em>ExpandLevel</em>) – whether input layer is timestep(default) or sequence.</li>
<li><strong>layer_attr</strong> (<em>paddle.v2.attr.ExtraAttribute</em>) – extra layer attributes.</li>
<li><strong>layer_attr</strong> (<em>paddle.v2.attr.ExtraAttribute</em>) – extra layer attributes.</li>
</ul>
</ul>
...
@@ -2512,10 +2501,9 @@ output sequence has T*M/N instances, the dimension of each instance is N.</p>
...
@@ -2512,10 +2501,9 @@ output sequence has T*M/N instances, the dimension of each instance is N.</p>
<li><strong>name</strong> (<em>basestring</em>) – The name of this layer. It is optional.</li>
<li><strong>name</strong> (<em>basestring</em>) – The name of this layer. It is optional.</li>
<li><strong>act</strong> (<em>paddle.v2.activation.Base</em>) – Activation type. paddle.v2.activation.Identity is the default.</li>
<li><strong>act</strong> (<em>paddle.v2.activation.Base</em>) – Activation type. paddle.v2.activation.Identity is the default.</li>
<li><strong>layer_attr</strong> (<em>paddle.v2.attr.ExtraAttribute</em>) – extra layer attributes.</li>
<li><strong>layer_attr</strong> (<em>paddle.v2.attr.ExtraAttribute</em>) – extra layer attributes.</li>
<li><strong>bias_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None | bool | Any</em>) – The Bias Attribute. If the parameter is set to
<li><strong>bias_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None | bool | Any</em>) – The bias attribute. If the parameter is set to False or an object
False or something not type of paddle.v2.attr.ParameterAttribute,
whose type is not paddle.v2.attr.ParameterAttribute, no bias is defined. If the
no bias is defined. If the parameter is set to
parameter is set to True, the bias is initialized to zero.</li>
True, the bias is initialized to zero.</li>
</ul>
</ul>
</td>
</td>
</tr>
</tr>
...
@@ -2568,10 +2556,9 @@ Please refer to dropout for details.</p>
...
@@ -2568,10 +2556,9 @@ Please refer to dropout for details.</p>
<li><strong>input</strong> (<em>paddle.v2.config_base.Layer | list | tuple</em>) – Input layers. It could be a paddle.v2.config_base.Layer or list/tuple of
<li><strong>input</strong> (<em>paddle.v2.config_base.Layer | list | tuple</em>) – Input layers. It could be a paddle.v2.config_base.Layer or list/tuple of
paddle.v2.config_base.Layer.</li>
paddle.v2.config_base.Layer.</li>
<li><strong>act</strong> (<em>paddle.v2.activation.Base</em>) – Activation Type. paddle.v2.activation.Linear is the default.</li>
<li><strong>act</strong> (<em>paddle.v2.activation.Base</em>) – Activation Type. paddle.v2.activation.Linear is the default.</li>
<li><strong>bias_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None | bool | Any</em>) – The Bias Attribute. If the parameter is set to
<li><strong>bias_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None | bool | Any</em>) – The bias attribute. If the parameter is set to False or an object
False or something not type of paddle.v2.attr.ParameterAttribute,
whose type is not paddle.v2.attr.ParameterAttribute, no bias is defined. If the
no bias is defined. If the parameter is set to
parameter is set to True, the bias is initialized to zero.</li>
True, the bias is initialized to zero.</li>
<li><strong>layer_attr</strong> (<em>paddle.v2.attr.ExtraAttribute</em>) – Extra Layer attribute.</li>
<li><strong>layer_attr</strong> (<em>paddle.v2.attr.ExtraAttribute</em>) – Extra Layer attribute.</li>
</ul>
</ul>
</td>
</td>
...
@@ -2831,11 +2818,11 @@ ight)</p>
...
@@ -2831,11 +2818,11 @@ ight)</p>
</tr>
</tr>
<trclass="field-odd field"><thclass="field-name">param min:</th><tdclass="field-body">The lower threshold for clipping.</td>
<trclass="field-odd field"><thclass="field-name">param min:</th><tdclass="field-body">The lower threshold for clipping.</td>
@@ -2949,10 +2936,9 @@ For example, each sample:</p>
...
@@ -2949,10 +2936,9 @@ For example, each sample:</p>
<li><strong>size</strong> (<em>int.</em>) – the layer dimension.</li>
<li><strong>size</strong> (<em>int.</em>) – the layer dimension.</li>
<li><strong>act</strong> (<em>paddle.v2.activation.Base</em>) – Activation type. paddle.v2.activation.Linear is the default.</li>
<li><strong>act</strong> (<em>paddle.v2.activation.Base</em>) – Activation type. paddle.v2.activation.Linear is the default.</li>
<li><strong>param_attr</strong> (<em>paddle.v2.attr.ParameterAttribute</em>) – The Parameter Attribute.</li>
<li><strong>param_attr</strong> (<em>paddle.v2.attr.ParameterAttribute</em>) – The Parameter Attribute.</li>
<li><strong>bias_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None | bool | Any</em>) – The Bias Attribute. If the parameter is set to
<li><strong>bias_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None | bool | Any</em>) – The bias attribute. If the parameter is set to False or an object
False or something not type of paddle.v2.attr.ParameterAttribute,
whose type is not paddle.v2.attr.ParameterAttribute, no bias is defined. If the
no bias is defined. If the parameter is set to
parameter is set to True, the bias is initialized to zero.</li>
True, the bias is initialized to zero.</li>
<li><strong>layer_attr</strong> (<em>paddle.v2.attr.ExtraAttribute | None</em>) – Extra Layer config.</li>
<li><strong>layer_attr</strong> (<em>paddle.v2.attr.ExtraAttribute | None</em>) – Extra Layer config.</li>
<li><strong>name</strong> (<em>basestring</em>) – The name of this layer. It is optional.</li>
<li><strong>name</strong> (<em>basestring</em>) – The name of this layer. It is optional.</li>
<li><strong>input</strong> (<em>paddle.v2.config_base.Layer</em>) – The input of this layer.</li>
<li><strong>input</strong> (<em>paddle.v2.config_base.Layer</em>) – The input of this layer.</li>
<li><strong>param_attr</strong> (<em>paddle.v2.attr.ParameterAttribute</em>) – The parameter attribute of scaling.</li>
<li><strong>param_attr</strong> (<em>paddle.v2.attr.ParameterAttribute</em>) – The parameter attribute of scaling. See paddle.v2.attr.ParameterAttribute for
<li><strong>bias_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None | bool | Any</em>) – The Bias Attribute. If the parameter is set to
details.</li>
False or something not type of paddle.v2.attr.ParameterAttribute,
<li><strong>bias_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None | bool | Any</em>) – The bias attribute. If the parameter is set to False or an object
no bias is defined. If the parameter is set to
whose type is not paddle.v2.attr.ParameterAttribute, no bias is defined. If the
True, the bias is initialized to zero.</li>
parameter is set to True, the bias is initialized to zero.</li>
</ul>
</ul>
</td>
</td>
</tr>
</tr>
...
@@ -3161,12 +3147,12 @@ Sampling one id for one sample.</p>
...
@@ -3161,12 +3147,12 @@ Sampling one id for one sample.</p>
<li><strong>input</strong> (<em>paddle.v2.config_base.Layer.</em>) – The input of this layer.</li>
<li><strong>input</strong> (<em>paddle.v2.config_base.Layer</em>) – The input of this layer.</li>
<li><strong>name</strong> (<em>None | basestring.</em>) – The name of this layer. It is optional.</li>
<li><strong>name</strong> (<em>basestring</em>) – The name of this layer. It is optional.</li>
<li><strong>layer_attr</strong> (<em>paddle.v2.attr.ExtraAttribute</em>) – Extra Layer Attribute.</li>
<li><strong>layer_attr</strong> (<em>paddle.v2.attr.ExtraAttribute</em>) – The extra layer attribute. See paddle.v2.attr.ExtraAttribute for
details.</li>
</ul>
</ul>
</td>
</td>
</tr>
</tr>
...
@@ -3889,10 +3886,9 @@ A fast and simple algorithm for training neural probabilistic language models.</
...
@@ -3889,10 +3886,9 @@ A fast and simple algorithm for training neural probabilistic language models.</
<li><strong>neg_distribution</strong> (<em>list | tuple | collections.Sequence | None</em>) – The distribution for generating the random negative labels.
<li><strong>neg_distribution</strong> (<em>list | tuple | collections.Sequence | None</em>) – The distribution for generating the random negative labels.
A uniform distribution will be used if not provided.
A uniform distribution will be used if not provided.
If not None, its length must be equal to num_classes.</li>
If not None, its length must be equal to num_classes.</li>
<li><strong>bias_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None | bool | Any</em>) – The Bias Attribute. If the parameter is set to
<li><strong>bias_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None | bool | Any</em>) – The bias attribute. If the parameter is set to False or an object
False or something not type of paddle.v2.attr.ParameterAttribute,
whose type is not paddle.v2.attr.ParameterAttribute, no bias is defined. If the
no bias is defined. If the parameter is set to
parameter is set to True, the bias is initialized to zero.</li>
True, the bias is initialized to zero.</li>
<li><strong>layer_attr</strong> (<em>paddle.v2.attr.ExtraAttribute</em>) – Extra Layer Attribute.</li>
<li><strong>layer_attr</strong> (<em>paddle.v2.attr.ExtraAttribute</em>) – Extra Layer Attribute.</li>
</ul>
</ul>
</td>
</td>
...
@@ -3931,10 +3927,9 @@ Hierarchical Probabilistic Neural Network Language Model.”</p>
...
@@ -3931,10 +3927,9 @@ Hierarchical Probabilistic Neural Network Language Model.”</p>
<li><strong>num_classes</strong> (<em>int | None</em>) – number of classes.</li>
<li><strong>num_classes</strong> (<em>int | None</em>) – number of classes.</li>
<li><strong>name</strong> (<em>basestring</em>) – The name of this layer. It is optional.</li>
<li><strong>name</strong> (<em>basestring</em>) – The name of this layer. It is optional.</li>
<li><strong>bias_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None | bool | Any</em>) – The Bias Attribute. If the parameter is set to
<li><strong>bias_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None | bool | Any</em>) – The bias attribute. If the parameter is set to False or an object
False or something not type of paddle.v2.attr.ParameterAttribute,
whose type is not paddle.v2.attr.ParameterAttribute, no bias is defined. If the
no bias is defined. If the parameter is set to
parameter is set to True, the bias is initialized to zero.</li>
<li><strong>name</strong> (<em>basestring</em>) – The name of this layer. It is optional.</li>
<li><strong>name</strong> (<em>basestring</em>) – The name of this layer. It is optional.</li>
<li><strong>input</strong> (<em>paddle.v2.config_base.Layer</em>) – The input of this layer.</li>
<li><strong>input</strong> (<em>paddle.v2.config_base.Layer</em>) – The input of this layer.</li>
<li><strong>partial_sum</strong> (<em>int</em>) –<p>this parameter makes a group of inputs share a same weight.</p>
<li><strong>partial_sum</strong> (<em>int</em>) –<p>this parameter makes a group of inputs share the same weight.</p>
<ul>
<ul>
<li>partial_sum = 1, indicates the element-wise activation: each element has a weight.</li>
<li>partial_sum = 1, indicates the element-wise activation: each element has a weight.</li>
<li>partial_sum = number of elements in one channel, indicates the channel-wise activation, elements in a channel share a same weight.</li>
<li>partial_sum = number of elements in one channel, indicates the channel-wise activation, elements in a channel share the same weight.</li>
<li>partial_sum = number of outputs, indicates all elements share a same weight.</li>
<li>partial_sum = number of outputs, indicates all elements share the same weight.</li>
</ul>
</ul>
</li>
</li>
<li><strong>param_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None</em>) – The parameter attribute. See paddle.v2.attr.ParameterAttribute for details.</li>
<li><strong>param_attr</strong> (<em>paddle.v2.attr.ParameterAttribute</em>) – The parameter attribute. See paddle.v2.attr.ParameterAttribute for details.</li>
<li><strong>layer_attr</strong> (<em>paddle.v2.attr.ExtraAttribute | None</em>) – Extra layer configurations. Default is None.</li>
<li><strong>layer_attr</strong> (<em>paddle.v2.attr.ExtraAttribute | None</em>) – The extra layer attribute. See paddle.v2.attr.ExtraAttribute for
details.</li>
</ul>
</ul>
</td>
</td>
</tr>
</tr>
...
@@ -4172,25 +4174,25 @@ product between <a href="#id11"><span class="problematic" id="id12">:match:`X
...
@@ -4172,25 +4174,25 @@ product between <a href="#id11"><span class="problematic" id="id12">:match:`X
<li><strong>input</strong> (<em>paddle.v2.config_base.Layer</em>) – The input of this layer.</li>
<li><strong>input</strong> (<em>paddle.v2.config_base.Layer</em>) – The input of this layer.</li>
<li><strong>size</strong> (<em>int</em>) –output size of the gated unit.</li>
<li><strong>size</strong> (<em>int</em>) –The dimension of this layer’s output.</li>
<li><strong>act</strong> (<em>paddle.v2.activation.Base</em>) – Activation type of the projected input. paddle.v2.activation.Linear is the default.</li>
<li><strong>act</strong> (<em>paddle.v2.activation.Base</em>) – Activation type of the projection. paddle.v2.activation.Linear is the default.</li>
<li><strong>name</strong> (<em>basestring</em>) – The name of this layer. It is optional.</li>
<li><strong>name</strong> (<em>basestring</em>) – The name of this layer. It is optional.</li>
<li><strong>gate_attr</strong> (<em>paddle.v2.attr.ExtraAttribute | None</em>) –Attributes to tune the gate output, for example, error
<li><strong>gate_attr</strong> (<em>paddle.v2.attr.ExtraAttribute | None</em>) –The extra layer attribute of the gate. See paddle.v2.attr.ExtraAttribute for
clipping threshold, dropout and so on. See paddle.v2.attr.ExtraAttribute for
details.</li>
more details.</li>
<li><strong>gate_param_attr</strong> (<em>paddle.v2.attr.ParameterAttribute</em>) – The parameter attribute of the gate. See paddle.v2.attr.ParameterAttribute
<li><strong>gate_param_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None</em>) – Attributes to tune the learnable projected matrix
for details.</li>
parameter of the gate.</li>
<li><strong>gate_bias_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | bool | None | Any</em>) – The bias attribute of the gate. If the parameter is set to False or
<li><strong>gate_bias_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None</em>) – Attributes to tune the learnable bias of the gate.</li>
an object whose type is not paddle.v2.attr.ParameterAttribute, no bias is defined.
<li><strong>inproj_attr</strong> (<em>paddle.v2.attr.ExtraAttribute | None</em>) – Attributes to the tune the projected input, for
If the parameter is set to True, the bias is initialized to zero.</li>
example, error clipping threshold, dropout and so on. See
<li><strong>inproj_attr</strong> (<em>paddle.v2.attr.ExtraAttribute | None</em>) – Extra layer attributes of the projection. See paddle.v2.attr.ExtraAttribute for
paddle.v2.attr.ExtraAttribute for more details.</li>
details.</li>
<li><strong>inproj_param_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None</em>) – Attributes to tune the learnable parameter of
<li><strong>inproj_param_attr</strong> (<em>paddle.v2.attr.ParameterAttribute</em>) – The parameter attribute of the projection. See paddle.v2.attr.ParameterAttribute
the projection of input.</li>
for details.</li>
<li><strong>inproj_bias_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | None</em>) – Attributes to tune the learnable bias of
<li><strong>inproj_bias_attr</strong> (<em>paddle.v2.attr.ParameterAttribute | bool | None | Any</em>) – The bias attribute of the projection. If the parameter is set to False
projection of the input.</li>
or an object whose type is not paddle.v2.attr.ParameterAttribute, no bias is defined.
<li><strong>layer_attr</strong> (<em>paddle.v2.attr.ExtraAttribute | None</em>) – Attributes to tune the final output of the gated unit,
If the parameter is set to True, the bias is initialized to zero.</li>
for example, error clipping threshold, dropout and so on. See
<li><strong>layer_attr</strong> (<em>paddle.v2.attr.ExtraAttribute | None</em>) – Extra layer attribute of the product. See paddle.v2.attr.ExtraAttribute for
paddle.v2.attr.ExtraAttribute for more details.</li>