Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/tensorpack/tensorpack
/ _get_cached_ns
Function
_get_cached_ns
tensorpack/tfutils/scope_utils.py:145–148 ·
view source on GitHub ↗
(name)
Source
from the content-addressed store, hash-verified
143
144
@graph_memoized
145
def
_get_cached_ns(name):
146
with
tf.name_scope(None):
147
with
tf.name_scope(name)
as
scope:
148
return
scope
149
150
151
@contextmanager
Callers
1
cached_name_scope
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected