From 014333d73883c3872e458cedda5ccef586a7ccd4 Mon Sep 17 00:00:00 2001 From: Vidhya Sudhan Loganathan Date: Mon, 2 Jul 2018 09:13:49 +0100 Subject: COMPMID-970 : Remove QS8 / QS16 support Removed Fixed point position arguments from test sources Change-Id: I8343724723b71611fd501ed34de0866d3fb60e7e Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/136382 Tested-by: Jenkins Reviewed-by: Michele DiGiorgio Reviewed-by: Anthony Barbier --- tests/validation/NEON/DepthConvertLayer.cpp | 44 +++++++++-------------------- 1 file changed, 14 insertions(+), 30 deletions(-) (limited to 'tests/validation/NEON/DepthConvertLayer.cpp') diff --git a/tests/validation/NEON/DepthConvertLayer.cpp b/tests/validation/NEON/DepthConvertLayer.cpp index 2bd3db7075..78070d004e 100644 --- a/tests/validation/NEON/DepthConvertLayer.cpp +++ b/tests/validation/NEON/DepthConvertLayer.cpp @@ -66,19 +66,15 @@ template using NEDepthConvertLayerToU8Fixture = DepthConvertLayerValidationFixture; template using NEDepthConvertLayerToU32Fixture = DepthConvertLayerValidationFixture; -template -using NEDepthConvertLayerToFP32FixedPointFixture = DepthConvertLayerValidationFractionalBitsFixture; TEST_SUITE(U8_to_U16) DATA_TEST_CASE(Configuration, framework::DatasetMode::ALL, combine(combine(framework::dataset::concat(datasets::SmallShapes(), datasets::LargeShapes()), framework::dataset::make("ConvertPolicy", { ConvertPolicy::SATURATE, ConvertPolicy::WRAP })), DepthConvertLayerShiftDataset), shape, policy, shift) { - int fixed_point_position = 0; - // Create tensors - Tensor src = create_tensor(shape, DataType::U8, 1, fixed_point_position); - Tensor dst = create_tensor(shape, DataType::U16, 1, fixed_point_position); + Tensor src = create_tensor(shape, DataType::U8, 1); + Tensor dst = create_tensor(shape, DataType::U16, 1); // Create and Configure function NEDepthConvertLayer depth_convert; @@ -116,11 +112,9 @@ DATA_TEST_CASE(Configuration, framework::DatasetMode::ALL, combine(combine(frame DepthConvertLayerShiftDataset), shape, policy, shift) { - int fixed_point_position = 0; - // Create tensors - Tensor src = create_tensor(shape, DataType::U8, 1, fixed_point_position); - Tensor dst = create_tensor(shape, DataType::S16, 1, fixed_point_position); + Tensor src = create_tensor(shape, DataType::U8, 1); + Tensor dst = create_tensor(shape, DataType::S16, 1); // Create and Configure function NEDepthConvertLayer depth_convert; @@ -157,11 +151,9 @@ DATA_TEST_CASE(Configuration, framework::DatasetMode::ALL, combine(combine(frame DepthConvertLayerShiftDataset), shape, policy, shift) { - int fixed_point_position = 0; - // Create tensors - Tensor src = create_tensor(shape, DataType::U8, 1, fixed_point_position); - Tensor dst = create_tensor(shape, DataType::S32, 1, fixed_point_position); + Tensor src = create_tensor(shape, DataType::U8, 1); + Tensor dst = create_tensor(shape, DataType::S32, 1); // Create and Configure function NEDepthConvertLayer depth_convert; @@ -199,11 +191,9 @@ DATA_TEST_CASE(Configuration, framework::DatasetMode::ALL, combine(combine(frame DepthConvertLayerShiftDataset), shape, policy, shift) { - int fixed_point_position = 0; - // Create tensors - Tensor src = create_tensor(shape, DataType::U16, 1, fixed_point_position); - Tensor dst = create_tensor(shape, DataType::U8, 1, fixed_point_position); + Tensor src = create_tensor(shape, DataType::U16, 1); + Tensor dst = create_tensor(shape, DataType::U8, 1); // Create and Configure function NEDepthConvertLayer depth_convert; @@ -240,11 +230,9 @@ DATA_TEST_CASE(Configuration, framework::DatasetMode::ALL, combine(combine(frame DepthConvertLayerShiftDataset), shape, policy, shift) { - int fixed_point_position = 0; - // Create tensors - Tensor src = create_tensor(shape, DataType::U16, 1, fixed_point_position); - Tensor dst = create_tensor(shape, DataType::U32, 1, fixed_point_position); + Tensor src = create_tensor(shape, DataType::U16, 1); + Tensor dst = create_tensor(shape, DataType::U32, 1); // Create and Configure function NEDepthConvertLayer depth_convert; @@ -281,11 +269,9 @@ DATA_TEST_CASE(Configuration, framework::DatasetMode::ALL, combine(combine(frame DepthConvertLayerShiftDataset), shape, policy, shift) { - int fixed_point_position = 0; - // Create tensors - Tensor src = create_tensor(shape, DataType::S16, 1, fixed_point_position); - Tensor dst = create_tensor(shape, DataType::U8, 1, fixed_point_position); + Tensor src = create_tensor(shape, DataType::S16, 1); + Tensor dst = create_tensor(shape, DataType::U8, 1); // Create and Configure function NEDepthConvertLayer depth_convert; @@ -322,11 +308,9 @@ DATA_TEST_CASE(Configuration, framework::DatasetMode::ALL, combine(combine(frame DepthConvertLayerShiftDataset), shape, policy, shift) { - int fixed_point_position = 0; - // Create tensors - Tensor src = create_tensor(shape, DataType::S16, 1, fixed_point_position); - Tensor dst = create_tensor(shape, DataType::S32, 1, fixed_point_position); + Tensor src = create_tensor(shape, DataType::S16, 1); + Tensor dst = create_tensor(shape, DataType::S32, 1); // Create and Configure function NEDepthConvertLayer depth_convert; -- cgit v1.2.1