parameters: (scope=None)
return_statement: return ops.get_collection(ops.GraphKeys.REGULARIZATION_LOSSES, scope)
docstring: Gets the regularization losses.
  
    Args:
      scope: an optional scope for filtering the losses to return.
  
    Returns:
      A list of loss variables.
docstring_summary: Gets the regularization losses.
docstring_tokens: Gets the regularization losses .
function: def get_regularization_losses(scope=None):
    """Gets the regularization losses.
  
    Args:
      scope: an optional scope for filtering the losses to return.
  
    Returns:
      A list of loss variables.
    """
    return ops.get_collection(ops.GraphKeys.REGULARIZATION_LOSSES, scope)
function_tokens: def get_regularization_losses ( scope = None ) : return ops . get_collection ( ops . GraphKeys . REGULARIZATION_LOSSES , scope )