<codeclass="descname">states</code><aclass="headerlink"href="#paddle.v2.fluid.evaluator.Evaluator.states"title="Permalink to this definition">¶</a></dt>
<dd><p><em>list</em>– The list of state variables. states will be reset to zero
<codeclass="descname">metrics</code><aclass="headerlink"href="#paddle.v2.fluid.evaluator.Evaluator.metrics"title="Permalink to this definition">¶</a></dt>
<dd><p><em>list</em>– The list of metrics variables. They will be calculate
<li><strong>loss</strong>– the target that this optimization is for.</li>
<li><strong>parameters_and_grads</strong>– a list of (variable, gradient) pair to update.</li>
</ul>
</td>
</tr>
<trclass="field-even field"><thclass="field-name">Returns:</th><tdclass="field-body"><pclass="first">a list of operators that will complete one step of
optimization. This will include parameter update ops, global step
update ops and any other custom ops required by subclasses to manage
<li><strong>parameters_and_grads</strong>– A list of (parameters, gradients) pairs
that need to be regularized.</li>
<li><strong>regularization</strong>– A global regularizer. If the parameter is not
set. It will be applied with regularizer.</li>
</ul>
</td>
</tr>
<trclass="field-even field"><thclass="field-name">Returns:</th><tdclass="field-body"><pclass="first">list of (parameters, gradients) pair with the regularized gradient</p>
<spanid="l1decayregularizer"></span><h2>L1DecayRegularizer<aclass="headerlink"href="#module-paddle.v2.fluid.regularizer"title="Permalink to this headline">¶</a></h2>
<emclass="property">class </em><codeclass="descclassname">paddle.v2.fluid.regularizer.</code><codeclass="descname">L1DecayRegularizer</code><spanclass="sig-paren">(</span><em>regularization_coeff=0.0</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#paddle.v2.fluid.regularizer.L1DecayRegularizer"title="Permalink to this definition">¶</a></dt>
<dd><p>Implements the L1 Weight Decay Regularization</p>
<divclass="section"id="l2decay">
<h2>L2Decay<aclass="headerlink"href="#l2decay"title="Permalink to this headline">¶</a></h2>