MCPcopy 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
64def resolve(d):
65 """Canonicalize `d` with current device as default."""
66 return canonicalize(d, default=current())
67
68
69class _FakeNodeDef(object):

Callers 1

Calls 2

canonicalizeFunction · 0.85
currentFunction · 0.85

Tested by

no test coverage detected