parameters: (scope=None, name="total_regularization_loss")
docstring: 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.
docstring_summary: Gets the total regularization loss.
docstring_tokens: Gets the total regularization loss .
function: def get_regularization_loss(scope=None, name="total_regularization_loss"):
    """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.
    """
    losses = get_regularization_losses(scope)
    if losses:
      return math_ops.add_n(losses, name=name)
    else:
      return constant_op.constant(0.0)
function_tokens: def get_regularization_loss ( scope = None , name = "total_regularization_loss" ) : losses = get_regularization_losses ( scope ) if losses : return math_ops . add_n ( losses , name = name ) else : return constant_op . constant ( 0.0 )