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

Function _get_default_variable_store

tensorflow/python/ops/variable_scope.py:1834–1840  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1832
1833
1834def _get_default_variable_store():
1835 store = ops.get_collection(_VARSTORE_KEY)
1836 if store:
1837 return store[0]
1838 store = _VariableStore()
1839 ops.add_to_collection(_VARSTORE_KEY, store)
1840 return store
1841
1842
1843@tf_contextlib.contextmanager

Callers 9

get_variableFunction · 0.85
get_hash_tableFunction · 0.85
get_embedding_variableFunction · 0.85
get_multihash_variableFunction · 0.85
__init__Method · 0.85

Calls 3

_VariableStoreClass · 0.85
add_to_collectionMethod · 0.80
get_collectionMethod · 0.45

Tested by

no test coverage detected