MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / DebugString

Method DebugString

tensorflow/compiler/jit/device_util.cc:80–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80string DeviceInfoCache::DebugString(const DeviceSet& device_set) const {
81 std::vector<string> names;
82 device_set.ForEach([&](DeviceId device_id) {
83 names.push_back(string(GetNameFor(device_id)));
84 return true;
85 });
86
87 return absl::StrCat("[", absl::StrJoin(names, ","), "]");
88}
89} // namespace jit
90
91Status DeviceNameToDeviceType(const string& device, DeviceType* device_type) {

Callers 15

IsCompilableCallMethod · 0.45
IsCompilableNodeMethod · 0.45
EqualFunctionNodeDefFunction · 0.45
EqualFunctionDefFunction · 0.45
TESTFunction · 0.45
MarkGuaranteedConstantsFunction · 0.45
EqualFunctionNodeDefFunction · 0.45
EqualFunctionDefFunction · 0.45
ConvertToAsyncOutFunction · 0.45
TEST_FFunction · 0.45
BuildCgmodeOpsFunction · 0.45

Calls 3

StrCatFunction · 0.50
ForEachMethod · 0.45
push_backMethod · 0.45

Tested by 10

EqualFunctionNodeDefFunction · 0.36
EqualFunctionDefFunction · 0.36
TESTFunction · 0.36
EqualFunctionNodeDefFunction · 0.36
EqualFunctionDefFunction · 0.36
ConvertToAsyncOutFunction · 0.36
TEST_FFunction · 0.36
BuildCgmodeOpsFunction · 0.36
BuildXlaOpsFunction · 0.36
TEST_FFunction · 0.36