tf.losses.get_regularization_loss

tf.losses.get_regularization_loss

tf.losses.get_regularization_loss

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 for filtering the losses to return.
  • name: The name of the returned tensor.

Returns:登录查看完整内容