Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ resolve
Function
resolve
tensorflow/python/distribute/device_util.py:64–66 ·
view source on GitHub ↗
Canonicalize `d` with current device as default.
(d)
Source
from the content-addressed store, hash-verified
62
63
64
def
resolve(d):
65
""
"Canonicalize `d` with current device as default."
""
66
return
canonicalize(d, default=current())
67
68
69
class
_FakeNodeDef(object):
Callers
1
_should_record_summaries_internal
Function · 0.50
Calls
2
canonicalize
Function · 0.85
current
Function · 0.85
Tested by
no test coverage detected