MCPcopy 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
399def scope_dirname(scope):
400 slash = scope.rfind("/")
401 if slash == -1:
402 return ""
403 return scope[:slash + 1]
404
405
406def scope_basename(scope):

Callers 1

placeholder_nameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected