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

Method DebugString

tensorflow/core/framework/variant.h:216–220  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

214 }
215
216 string DebugString() const {
217 return strings::StrCat(
218 "Variant<type: ", TypeName(),
219 " value: ", is_empty() ? "[empty]" : GetValue()->DebugString(), ">");
220 }
221
222 // Returns a pointer to the stored value if it is type T, or nullptr
223 // otherwise.

Callers

nothing calls this directly

Calls 3

TypeNameFunction · 0.85
StrCatFunction · 0.50
GetValueFunction · 0.50

Tested by

no test coverage detected