# tf.contrib.layers.sum_regularizer

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v1.15.0/tensorflow/contrib/layers/python/layers/regularizers.py#L141-L167) |

Returns a function that applies the sum of multiple regularizers.

    tf.contrib.layers.sum_regularizer(
        regularizer_list, scope=None
    )

<br />

<br />

<br />

| ## Args ||
|---|---|
| `regularizer_list` | A list of regularizers to apply. |
| `scope` | An optional scope name |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| A function with signature `sum_reg(weights)` that applies the sum of all the input regularizers. ||

<br />