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

Function OutputToLog

tensorflow/core/framework/log_memory.cc:31–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29// Write the proto entry to LOG(INFO).
30template <typename T>
31void OutputToLog(const T& proto) {
32 string type_name = proto.GetTypeName();
33 const size_t index = type_name.find_last_of(".");
34 if (index != string::npos) type_name = type_name.substr(index + 1);
35 LOG(INFO) << LogMemory::kLogMemoryLabel << " " << type_name << " { "
36 << ProtoShortDebugString(proto) << " }";
37}
38
39} // namespace
40

Callers 6

RecordStepMethod · 0.85
RecordTensorOutputMethod · 0.85
RecordRawAllocationMethod · 0.85
RecordRawDeallocationMethod · 0.85

Calls 1

GetTypeNameMethod · 0.80

Tested by

no test coverage detected