diff options
author | Abe Mbise <abe.mbise@arm.com> | 2017-12-19 13:51:59 +0000 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:52:54 +0000 |
commit | 1b993389a3ac0cd1b0edc0b11e92fbdee127576f (patch) | |
tree | 1ffc39fa69baabaf2849058eb4ac8c204075630c /tests/validation/Validation.h | |
parent | 76c8564936a1e0d1be022a2f56dc0a52d638f5d7 (diff) | |
download | ComputeLibrary-1b993389a3ac0cd1b0edc0b11e92fbdee127576f.tar.gz |
COMPMID-568: Implement Canny edge function for CL/NEON
Change-Id: Ic5f197463f962bac4b23663bcef7ac744be6fc2a
Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/114250
Tested-by: Jenkins <bsgcomp@arm.com>
Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'tests/validation/Validation.h')
-rw-r--r-- | tests/validation/Validation.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/validation/Validation.h b/tests/validation/Validation.h index ac3643ea4a..0c96052368 100644 --- a/tests/validation/Validation.h +++ b/tests/validation/Validation.h @@ -448,7 +448,7 @@ void validate(const IAccessor &tensor, const SimpleTensor<T> &reference, const V const float percent_mismatches = static_cast<float>(num_mismatches) / num_elements * 100.f; ARM_COMPUTE_TEST_INFO(num_mismatches << " values (" << std::fixed << std::setprecision(2) << percent_mismatches - << "%) mismatched (maximum tolerated " << std::setprecision(2) << tolerance_number << "%)"); + << "%) mismatched (maximum tolerated " << std::setprecision(2) << tolerance_number * 100 << "%)"); ARM_COMPUTE_EXPECT(num_mismatches <= absolute_tolerance_number, framework::LogLevel::ERRORS); } } @@ -536,7 +536,7 @@ void validate_wrap(const IAccessor &tensor, const SimpleTensor<T> &reference, co const float percent_mismatches = static_cast<float>(num_mismatches) / num_elements * 100.f; ARM_COMPUTE_TEST_INFO(num_mismatches << " values (" << std::fixed << std::setprecision(2) << percent_mismatches - << "%) mismatched (maximum tolerated " << std::setprecision(2) << tolerance_number << "%)"); + << "%) mismatched (maximum tolerated " << std::setprecision(2) << tolerance_number * 100 << "%)"); ARM_COMPUTE_EXPECT(num_mismatches <= absolute_tolerance_number, framework::LogLevel::ERRORS); } } @@ -615,7 +615,7 @@ void validate(const IAccessor &tensor, const SimpleTensor<T> &reference, const S const float percent_mismatches = static_cast<float>(num_mismatches) / num_elements * 100.f; ARM_COMPUTE_TEST_INFO(num_mismatches << " values (" << std::fixed << std::setprecision(2) << percent_mismatches - << "%) mismatched (maximum tolerated " << std::setprecision(2) << tolerance_number << "%)"); + << "%) mismatched (maximum tolerated " << std::setprecision(2) << tolerance_number * 100 << "%)"); ARM_COMPUTE_EXPECT(num_mismatches <= absolute_tolerance_number, framework::LogLevel::ERRORS); } } |