# tf.contrib.losses.get_regularization_losses

<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/losses/python/losses/loss_ops.py#L203-L213) |

Gets the regularization losses. (deprecated)

    tf.contrib.losses.get_regularization_losses(
        scope=None
    )

> [!WARNING]
> **Warning:** THIS FUNCTION IS DEPRECATED. It will be removed after 2016-12-30. Instructions for updating: Use tf.losses.get_regularization_losses instead.

<br />

<br />

<br />

| ## Args ||
|---|---|
| `scope` | an optional scope for filtering the losses to return. |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| A list of regularization losses as Tensors. ||

<br />