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

Method EvalResult

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

Source from the content-addressed store, hash-verified

1730
1731template <typename LhsScalar, typename RhsScalar, typename SpecType>
1732void TestSet<LhsScalar, RhsScalar, SpecType>::EvalResult(
1733 TestResult<typename SpecType::DstScalar>* result) {
1734 RUY_CHECK(result->path != Path::kNone ||
1735 result->external_path != ExternalPath::kNone);
1736 if (result->path != Path::kNone) {
1737 EvalRuy(result);
1738 } else {
1739#ifdef RUY_TEST_EXTERNAL_PATHS
1740 using TestSetType = TestSet<LhsScalar, RhsScalar, SpecType>;
1741 EvalExternalPath(this, result);
1742#endif
1743 }
1744 const std::string& pathname = PathName(*result);
1745 if (std::find(CoveredPaths()->begin(), CoveredPaths()->end(), pathname) ==
1746 CoveredPaths()->end()) {
1747 CoveredPaths()->push_back(pathname);
1748 }
1749}
1750
1751using f32 = float;
1752using f64 = double;

Callers

nothing calls this directly

Calls 6

EvalExternalPathFunction · 0.85
PathNameFunction · 0.85
CoveredPathsFunction · 0.85
beginMethod · 0.45
endMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected