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

Function get_variable_scope_store

tensorflow/python/ops/variable_scope.py:1815–1825  ·  view source on GitHub ↗

Returns the variable scope store for current thread.

()

Source from the content-addressed store, hash-verified

1813
1814
1815def get_variable_scope_store():
1816 """Returns the variable scope store for current thread."""
1817 scope_store = ops.get_collection(_VARSCOPESTORE_KEY)
1818
1819 if not scope_store:
1820 scope_store = _VariableScopeStore()
1821 ops.add_to_collection(_VARSCOPESTORE_KEY, scope_store)
1822 else:
1823 scope_store = scope_store[0]
1824
1825 return scope_store
1826
1827
1828@tf_export(v1=["get_variable_scope"])

Callers 3

get_variable_scopeFunction · 0.85
__init__Method · 0.85

Calls 3

_VariableScopeStoreClass · 0.85
add_to_collectionMethod · 0.80
get_collectionMethod · 0.45

Tested by

no test coverage detected