Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ scope_basename
Function
scope_basename
tensorflow/contrib/graph_editor/util.py:406–410 ·
view source on GitHub ↗
(scope)
Source
from the content-addressed store, hash-verified
404
405
406
def
scope_basename(scope):
407
slash = scope.rfind(
"/"
)
408
if
slash == -1:
409
return
scope
410
return
scope[slash + 1:]
411
412
413
def
placeholder_name(t=None, scope=None, prefix=_DEFAULT_PLACEHOLDER_PREFIX):
Callers
1
placeholder_name
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected