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

Function StatsAsString

tensorflow/lite/experimental/ruy/test.h:1246–1251  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1244};
1245
1246std::string StatsAsString(const Stats& stats) {
1247 char buf[256];
1248 snprintf(buf, sizeof(buf), "(median = %g, mean = %g, min = %g, max = %g)",
1249 stats.median, stats.mean, stats.min, stats.max);
1250 return std::string(buf);
1251}
1252
1253template <typename Scalar>
1254void GetMatrixStats(const Matrix<Scalar>& matrix, Stats* stats) {

Callers 1

VerifyTestResultsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected