<emclass="property">class </em><codeclass="descclassname">paddle.trainer_config_helpers.attrs.</code><codeclass="descname">ExtraLayerAttribute</code><spanclass="sig-paren">(</span><em>error_clipping_threshold=None</em>, <em>drop_rate=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="descclassname">paddle.trainer_config_helpers.attrs.</code><codeclass="descname">ExtraLayerAttribute</code><spanclass="sig-paren">(</span><em>error_clipping_threshold=None</em>, <em>drop_rate=None</em>, <em>device=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"title="Permalink to this definition">¶</a></dt>
<dd><p>Some high level layer attributes config. You can set all attributes here,
<dd><p>Some high level layer attributes config. You can set all attributes here,
but some layer doesn’t support all attributes. If you set an attribute to a
but some layer doesn’t support all attributes. If you set an attribute to a
layer that not support this attribute, paddle will print an error and core.</p>
layer that not support this attribute, paddle will print an error and core.</p>
...
@@ -122,7 +122,10 @@ layer that not support this attribute, paddle will print an error and core.</p>
...
@@ -122,7 +122,10 @@ layer that not support this attribute, paddle will print an error and core.</p>
<li><strong>drop_rate</strong> (<em>float</em>) – Dropout rate. Dropout will create a mask on layer output.
<li><strong>drop_rate</strong> (<em>float</em>) – Dropout rate. Dropout will create a mask on layer output.
The dropout rate is the zero rate of this mask. The
The dropout rate is the zero rate of this mask. The
details of what dropout is please refer to <aclass="reference external"href="https://www.cs.toronto.edu/~hinton/absps/JMLRdropout.pdf">here</a></li>
details of what dropout is please refer to <aclass="reference external"href="https://www.cs.toronto.edu/~hinton/absps/JMLRdropout.pdf">here</a>.</li>
<li><strong>device</strong> (<em>int</em>) –<p>device ID of layer. device=-1, use CPU. device>0, use GPU.
The details allocation in parallel_nn please refer to <aclass="reference external"href="http://www.paddlepaddle.org/doc/ui/cmd_argument/use_case.html#case-2-specify-layers-in-different-devices">here</a>.</p>