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

Method OutputToStream

tensorflow/core/util/stats_calculator.h:78–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76 }
77
78 void OutputToStream(std::ostream* stream) const {
79 if (empty()) {
80 *stream << "count=0";
81 } else if (all_same()) {
82 *stream << "count=" << count_ << " curr=" << newest_;
83 if (count_ > 1) *stream << "(all same)";
84 } else {
85 *stream << "count=" << count_ << " first=" << first_
86 << " curr=" << newest_ << " min=" << min_ << " max=" << max_
87 << " avg=" << avg() << " std=" << std_deviation();
88 }
89 }
90
91 friend std::ostream& operator<<(std::ostream& stream,
92 const Stat<ValueType>& stat) {

Callers 5

TimeMultipleRunsFunction · 0.80
OutputStatsMethod · 0.80
RunMethod · 0.80
StatClass · 0.80
GetShortSummaryMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected