Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ _strip_prefix
Function
_strip_prefix
tensorflow/python/eager/remote.py:128–129 ·
view source on GitHub ↗
(s, prefix)
Source
from the content-addressed store, hash-verified
126
127
128
def
_strip_prefix(s, prefix):
129
return
s[len(prefix):]
if
s.startswith(prefix)
else
s
Callers
1
connect_to_remote_host
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected