# Regularizer

## WeightDecayRegularizer

class `paddle.v2.fluid.regularizer.``WeightDecayRegularizer`

  Base class for weight decay regularizers

  Defines the common interface of weight-decay regularizers. Weight-decay regularizers are added only during the backward pass for faster regularization. They add operations to the network that correspond to gradient of the regularization function. Users should not use this class directly, but need to use one of its implementations

## L2DecayRegularizer

class `paddle.v2.fluid.regularizer.``L2DecayRegularizer`(regularization_coeff=0.0)

  Implements the L2 Weight Decay Regularization

## L1DecayRegularizer

class `paddle.v2.fluid.regularizer.``L1DecayRegularizer`(regularization_coeff=0.0)

  Implements the L1 Weight Decay Regularization