MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / get_all_collection_keys

Method get_all_collection_keys

tensorflow/python/framework/ops.py:3987–3990  ·  view source on GitHub ↗

Returns a list of collections used in this graph.

(self)

Source from the content-addressed store, hash-verified

3985 return c
3986
3987 def get_all_collection_keys(self):
3988 """Returns a list of collections used in this graph."""
3989 with self._lock:
3990 return [x for x in self._collections if isinstance(x, six.string_types)]
3991
3992 def clear_collection(self, name):
3993 """Clears all values in a collection.

Callers 9

test_get_collectionsMethod · 0.95
__init__Method · 0.80
_CopyGraphMethod · 0.80
__init__Method · 0.80
get_all_collection_keysFunction · 0.80
create_meta_graph_defFunction · 0.80
_build_internalMethod · 0.80
_ExportAndImportGraphMethod · 0.80

Calls

no outgoing calls

Tested by 3

test_get_collectionsMethod · 0.76
_CopyGraphMethod · 0.64
_ExportAndImportGraphMethod · 0.64