Automated rollback of change 144342278

Change: 144384102
This commit is contained in:
Gunhan Gulsoy 2017-01-12 16:08:23 -08:00 committed by TensorFlower Gardener
parent d14cb8cf21
commit 2b495e972e

View File

@ -56,8 +56,8 @@ def collect_named_outputs(collections, alias, outputs):
Returns:
The outputs Tensor to allow inline call.
"""
if collections:
append_tensor_alias(outputs, alias)
if collections:
ops.add_to_collections(collections, outputs)
return outputs