Home
last modified time | relevance | path

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

/frameworks/ml/nn/tools/test_generator/test_harness/include_legacy/
DTestHarness.h281 int quant8AllowedError = getQuant8AllowedError(); variable
311 [&totalNumberOfErrors, quant8AllowedError](uint8_t expected, uint8_t actual) {
313 EXPECT_NEAR(expected, actual, quant8AllowedError);
315 if (std::abs(expected - actual) > quant8AllowedError) {
350 [&totalNumberOfErrors, &quant8AllowedError](int8_t expected, int8_t actual) {
352 EXPECT_NEAR(expected, actual, quant8AllowedError);
355 quant8AllowedError) {
369 [&totalNumberOfErrors, quant8AllowedError](int8_t expected, int8_t actual) {
371 EXPECT_NEAR(expected, actual, quant8AllowedError);
374 quant8AllowedError) {
/frameworks/ml/nn/tools/test_generator/test_harness/
DTestHarness.cpp287 const double quant8AllowedError = getQuant8AllowedError(); in checkResults() local
288 criteria.quant8Asymm.atol = quant8AllowedError; in checkResults()
289 criteria.quant8AsymmSigned.atol = quant8AllowedError; in checkResults()
290 criteria.quant8Symm.atol = quant8AllowedError; in checkResults()