From 945b8da90cea5ccacc0294e58131f73f39137367 Mon Sep 17 00:00:00 2001 From: Matthew Bentham Date: Wed, 12 Jul 2023 11:54:59 +0000 Subject: Make test fixture setup methods not be templated This simplifies code slightly as nothing needs those functions to be function templates. Signed-off-by: Matthew Bentham Change-Id: If48694bf5677bb83426aeba952eb87174a42dff0 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/c/VisualCompute/ComputeLibrary/+/536135 Tested-by: bsgcomp Reviewed-by: Jakub Sujak Comments-Addressed: bsgcomp Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/9907 Benchmark: Arm Jenkins Tested-by: Arm Jenkins Comments-Addressed: Arm Jenkins --- tests/validation/fixtures/ElementwiseUnaryFixture.h | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'tests/validation/fixtures/ElementwiseUnaryFixture.h') diff --git a/tests/validation/fixtures/ElementwiseUnaryFixture.h b/tests/validation/fixtures/ElementwiseUnaryFixture.h index 9b40d34d2b..15344288db 100644 --- a/tests/validation/fixtures/ElementwiseUnaryFixture.h +++ b/tests/validation/fixtures/ElementwiseUnaryFixture.h @@ -50,7 +50,6 @@ template void setup(TensorShape input_shape, DataType input_data_type, bool in_place, ElementWiseUnary op, bool use_dynamic_shape = false, QuantizationInfo qinfo = QuantizationInfo(), QuantizationInfo qinfo_out = QuantizationInfo()) { @@ -277,7 +276,6 @@ template { public: - template void setup(const TensorShape &shape, DataType data_type, QuantizationInfo qinfo, QuantizationInfo qinfo_out) { ElementWiseUnaryValidationFixture::setup(shape, data_type, false, ElementWiseUnary::RSQRT, false, qinfo, qinfo_out); @@ -288,7 +286,6 @@ template { public: - template void setup(const TensorShape &shape, DataType data_type) { ElementWiseUnaryValidationFixture::setup(shape, data_type, false, ElementWiseUnary::RSQRT); @@ -299,7 +296,6 @@ template { public: - template void setup(const TensorShape &shape, DataType data_type) { ElementWiseUnaryValidationFixture::setup(shape, data_type, false, ElementWiseUnary::RSQRT, true); @@ -310,7 +306,6 @@ template { public: - template void setup(const TensorShape &shape, DataType data_type) { ElementWiseUnaryValidationFixture::setup(shape, data_type, false, ElementWiseUnary::EXP); @@ -321,7 +316,6 @@ template { public: - template void setup(const TensorShape &shape, DataType data_type, QuantizationInfo iq, QuantizationInfo oq) { ElementWiseUnaryValidationFixture::setup(shape, data_type, false, ElementWiseUnary::EXP, false, iq, oq); @@ -332,7 +326,6 @@ template { public: - template void setup(const TensorShape &shape, DataType data_type) { ElementWiseUnaryValidationFixture::setup(shape, data_type, false, ElementWiseUnary::NEG); @@ -343,7 +336,6 @@ template { public: - template void setup(const TensorShape &shape, DataType data_type, QuantizationInfo iq, QuantizationInfo oq) { ElementWiseUnaryValidationFixture::setup(shape, data_type, false, ElementWiseUnary::NEG, false, iq, oq); @@ -354,7 +346,6 @@ template { public: - template void setup(const TensorShape &shape, DataType data_type, bool in_place) { ElementWiseUnaryValidationFixture::setup(shape, data_type, in_place, ElementWiseUnary::NEG); @@ -365,7 +356,6 @@ template { public: - template void setup(const TensorShape &shape, DataType data_type, bool in_place, QuantizationInfo iq, QuantizationInfo oq) { ElementWiseUnaryValidationFixture::setup(shape, data_type, in_place, ElementWiseUnary::NEG, false, iq, oq); @@ -376,7 +366,6 @@ template { public: - template void setup(const TensorShape &shape, DataType data_type) { ElementWiseUnaryValidationFixture::setup(shape, data_type, false, ElementWiseUnary::LOG); @@ -387,7 +376,6 @@ template { public: - template void setup(const TensorShape &shape, DataType data_type, QuantizationInfo iq, QuantizationInfo oq) { ElementWiseUnaryValidationFixture::setup(shape, data_type, false, ElementWiseUnary::LOG, false, iq, oq); @@ -398,7 +386,6 @@ template { public: - template void setup(const TensorShape &shape, DataType data_type) { ElementWiseUnaryValidationFixture::setup(shape, data_type, false, ElementWiseUnary::ABS); @@ -409,7 +396,6 @@ template { public: - template void setup(const TensorShape &shape, DataType data_type, QuantizationInfo iq, QuantizationInfo oq) { ElementWiseUnaryValidationFixture::setup(shape, data_type, false, ElementWiseUnary::ABS, false, iq, oq); @@ -420,7 +406,6 @@ template { public: - template void setup(const TensorShape &shape, DataType data_type) { ElementWiseUnaryValidationFixture::setup(shape, data_type, false, ElementWiseUnary::SIN); @@ -431,7 +416,6 @@ template { public: - template void setup(const TensorShape &shape, DataType data_type, QuantizationInfo iq, QuantizationInfo oq) { ElementWiseUnaryValidationFixture::setup(shape, data_type, false, ElementWiseUnary::SIN, false, iq, oq); @@ -442,7 +426,6 @@ template { public: - template void setup(const TensorShape &shape, DataType data_type) { ElementWiseUnaryValidationFixture::setup(shape, data_type, false, ElementWiseUnary::ROUND); @@ -453,7 +436,6 @@ template { public: - template void setup(const TensorShape &shape, DataType data_type, QuantizationInfo iq, QuantizationInfo oq) { ElementWiseUnaryValidationFixture::setup(shape, data_type, false, ElementWiseUnary::ROUND, false, iq, oq); -- cgit v1.2.1