parameters: (collections, alias, outputs)
return_statement: return outputs
docstring: Add `Tensor` outputs tagged with alias to collections.
  
    It is useful to collect end-points or tags for summaries. Example of usage:
  
    logits = collect_named_outputs('end_points', 'inception_v3/logits', logits)
    assert logits.alias == 'inception_v3/logits'
  
    Args:
      collections: A collection or list of collections. If None skip collection.
      alias: String, alias to name the outputs, ex. 'inception_v3/conv1'
      outputs: Tensor, an output tensor to collect
  
    Returns:
      The outputs Tensor to allow inline call.
docstring_summary: Add `Tensor` outputs tagged with alias to collections.
docstring_tokens: Add Tensor outputs tagged with alias to collections .
function: def collect_named_outputs(collections, alias, outputs):
    """Add `Tensor` outputs tagged with alias to collections.
  
    It is useful to collect end-points or tags for summaries. Example of usage:
  
    logits = collect_named_outputs('end_points', 'inception_v3/logits', logits)
    assert logits.alias == 'inception_v3/logits'
  
    Args:
      collections: A collection or list of collections. If None skip collection.
      alias: String, alias to name the outputs, ex. 'inception_v3/conv1'
      outputs: Tensor, an output tensor to collect
  
    Returns:
      The outputs Tensor to allow inline call.
    """
    # Remove ending '/' if present.
    if alias[-1] == '/':
      alias = alias[:-1]
    outputs.alias = alias
    if collections:
      ops.add_to_collections(collections, outputs)
    return outputs
function_tokens: def collect_named_outputs ( collections , alias , outputs ) : # Remove ending '/' if present. if alias [ - 1 ] == '/' : alias = alias [ : - 1 ] outputs . alias = alias if collections : ops . add_to_collections ( collections , outputs ) return outputs