Make tf.add_to_collections visible.

PiperOrigin-RevId: 188807786
This commit is contained in:
A. Unique TensorFlower 2018-03-12 17:48:57 -07:00 committed by TensorFlower Gardener
parent d9cbe36d1b
commit a2643a9836
2 changed files with 2 additions and 1 deletions

View File

@ -48,6 +48,7 @@
## Graph collections
@@add_to_collection
@@add_to_collections
@@get_collection
@@get_collection_ref
@@GraphKeys

View File

@ -5602,7 +5602,7 @@ def add_to_collection(name, value):
"""
get_default_graph().add_to_collection(name, value)
@tf_export("add_to_collections")
def add_to_collections(names, value):
"""Wrapper for `Graph.add_to_collections()` using the default graph.