Apply to speak at TensorFlow World. Deadline April 23rd. Propose talk

tf.losses.get_regularization_loss

tf.losses.get_regularization_loss(
    scope=None,
    name='total_regularization_loss'
)

Defined in tensorflow/python/ops/losses/util.py.

Gets the total regularization loss.

Args:

  • scope: An optional scope name for filtering the losses to return.
  • name: The name of the returned tensor.

Returns:

A scalar regularization loss.