Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ scope_dirname
Function
scope_dirname
tensorflow/contrib/graph_editor/util.py:399–403 ·
view source on GitHub ↗
(scope)
Source
from the content-addressed store, hash-verified
397
398
399
def
scope_dirname(scope):
400
slash = scope.rfind(
"/"
)
401
if
slash == -1:
402
return
""
403
return
scope[:slash + 1]
404
405
406
def
scope_basename(scope):
Callers
1
placeholder_name
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected