Home
last modified time | relevance | path

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

/frameworks/ml/nn/tools/test_generator/include/
DTestHarness.h288 size_t totalNumberOfErrors = 0; variable
290 [&totalNumberOfErrors, fpAtol, fpRtol](float expected, float actual) {
293 if (totalNumberOfErrors < gMaximumNumberOfErrorMessages) {
297 totalNumberOfErrors++;
301 [&totalNumberOfErrors](int32_t expected, int32_t actual) {
302 if (totalNumberOfErrors < gMaximumNumberOfErrorMessages) {
306 totalNumberOfErrors++;
310 [&totalNumberOfErrors, quant8AllowedError](uint8_t expected, uint8_t actual) {
311 if (totalNumberOfErrors < gMaximumNumberOfErrorMessages) {
315 totalNumberOfErrors++;
[all …]
/frameworks/ml/nn/runtime/test/
DTestUnknownDimensions.cpp95 size_t totalNumberOfErrors = 0; in CompareResults() local
98 [&totalNumberOfErrors, fpAtol, fpRtol](float expected, float actual) { in CompareResults()
101 if (totalNumberOfErrors < gMaximumNumberOfErrorMessages) { in CompareResults()
105 totalNumberOfErrors++; in CompareResults()
108 EXPECT_EQ(size_t{0}, totalNumberOfErrors); in CompareResults()
114 size_t totalNumberOfErrors = 0; in CompareResults() local
115 compare_<uint8_t>(golden, test, [&totalNumberOfErrors](uint8_t expected, uint8_t actual) { in CompareResults()
116 if (totalNumberOfErrors < gMaximumNumberOfErrorMessages) { in CompareResults()
120 totalNumberOfErrors++; in CompareResults()
123 EXPECT_EQ(size_t{0}, totalNumberOfErrors); in CompareResults()
[all …]