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

Method DebugString

tensorflow/core/common_runtime/eager/eager_operation.cc:46–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46string EagerOperation::DebugString() const {
47 string out;
48 VLOG(1) << "EagerOperation::DebugString() over " << this;
49
50 strings::StrAppend(&out, "Name: ", name_, "\n");
51 strings::StrAppend(&out, "Device Name: [",
52 DeviceNameUtils::ParsedNameToString(device_name_), "]\n");
53 strings::StrAppend(
54 &out, "Device: ", Device() ? Device()->DebugString() : "[]", "\n");
55 for (const auto& input : inputs_) {
56 VLOG(1) << "Input ptr: " << input;
57 strings::StrAppend(&out, "Input: ", input->DebugString(), "\n");
58 }
59
60 NodeDef ndef;
61 Attrs().FillAttrValueMap(ndef.mutable_attr());
62 strings::StrAppend(&out, "Attrs: ", ndef.DebugString(), "\n");
63 return out;
64}
65
66} // namespace tensorflow

Callers

nothing calls this directly

Calls 4

StrAppendFunction · 0.50
DeviceClass · 0.50
AttrsClass · 0.50
FillAttrValueMapMethod · 0.45

Tested by

no test coverage detected