Home
last modified time | relevance | path

Searched refs:fpRange (Results 1 – 2 of 2) sorted by relevance

/packages/modules/NeuralNetworks/runtime/test/
DTestUnknownDimensions.cpp119 float fpRange = fpAtol + fpRtol * std::abs(expected); in CompareResults() local
121 EXPECT_NEAR(expected, actual, fpRange); in CompareResults()
123 if (std::abs(expected - actual) > fpRange) { in CompareResults()
155 float fpRange = fpAtol + fpRtol * std::abs(static_cast<float>(expected)); in CompareResults() local
157 EXPECT_NEAR(expected, actual, fpRange); in CompareResults()
159 if (std::abs(static_cast<float>(expected - actual)) > fpRange) { in CompareResults()
/packages/modules/NeuralNetworks/tools/test_generator/test_harness/include_legacy/
DTestHarness.h293 float fpRange = fpAtol + fpRtol * std::abs(expected);
295 EXPECT_NEAR(expected, actual, fpRange);
297 if (std::abs(expected - actual) > fpRange) {
332 float fpRange = fpAtol + fpRtol * std::abs(static_cast<float>(expected));
334 EXPECT_NEAR(expected, actual, fpRange);
336 if (std::abs(static_cast<float>(expected - actual)) > fpRange) {