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

Method GetShortSummary

tensorflow/core/util/stats_calculator.cc:29–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27 : options_(options) {}
28
29std::string StatsCalculator::GetShortSummary() const {
30 std::stringstream stream;
31 stream << "Timings (microseconds): ";
32 run_total_us_.OutputToStream(&stream);
33 stream << std::endl;
34
35 stream << "Memory (bytes): ";
36 memory_.OutputToStream(&stream);
37 stream << std::endl;
38
39 stream << details_.size() << " nodes observed" << std::endl;
40 return stream.str();
41}
42
43std::ostream& InitField(std::ostream& stream, int width) {
44 stream << "\t" << std::right << std::setw(width) << std::fixed

Callers 1

ShortSummaryMethod · 0.45

Calls 2

OutputToStreamMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected