diff options
Diffstat (limited to 'tests/validation_new/CL/SoftmaxLayer.cpp')
-rw-r--r-- | tests/validation_new/CL/SoftmaxLayer.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/validation_new/CL/SoftmaxLayer.cpp b/tests/validation_new/CL/SoftmaxLayer.cpp index 3edc7b2d6e..d13236a2f9 100644 --- a/tests/validation_new/CL/SoftmaxLayer.cpp +++ b/tests/validation_new/CL/SoftmaxLayer.cpp @@ -44,10 +44,10 @@ namespace validation namespace { /** Tolerance for float operations */ -constexpr float tolerance_f16 = 0.002f; -constexpr float tolerance_f32 = 0.000001f; +constexpr AbsoluteTolerance<float> tolerance_f16(0.002f); +constexpr AbsoluteTolerance<float> tolerance_f32(0.000001f); /** Tolerance for fixed point operations */ -constexpr int8_t tolerance_fixed_point = 2; +constexpr AbsoluteTolerance<int8_t> tolerance_fixed_point(2); /** CNN data types */ const auto CNNDataTypes = framework::dataset::make("DataType", |