diff options
author | Vidhya Sudhan Loganathan <vidhyasudhan.loganathan@arm.com> | 2018-07-02 09:13:49 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:54:10 +0000 |
commit | 014333d73883c3872e458cedda5ccef586a7ccd4 (patch) | |
tree | 0f28bbc1ab769993af91b40e4584061f6ed6d3fa /tests/validation/NEON/DepthConvertLayer.cpp | |
parent | de01468bbfff3a7d8bcbba3bfdf5698fb2e3b267 (diff) | |
download | ComputeLibrary-014333d73883c3872e458cedda5ccef586a7ccd4.tar.gz |
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 <bsgcomp@arm.com>
Reviewed-by: Michele DiGiorgio <michele.digiorgio@arm.com>
Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'tests/validation/NEON/DepthConvertLayer.cpp')
-rw-r--r-- | tests/validation/NEON/DepthConvertLayer.cpp | 44 |
1 files changed, 14 insertions, 30 deletions
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 <typename T> using NEDepthConvertLayerToU8Fixture = DepthConvertLayerValidationFixture<Tensor, Accessor, NEDepthConvertLayer, T, uint8_t>; template <typename T> using NEDepthConvertLayerToU32Fixture = DepthConvertLayerValidationFixture<Tensor, Accessor, NEDepthConvertLayer, T, uint32_t>; -template <typename T> -using NEDepthConvertLayerToFP32FixedPointFixture = DepthConvertLayerValidationFractionalBitsFixture<Tensor, Accessor, NEDepthConvertLayer, T, float>; 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<Tensor>(shape, DataType::U8, 1, fixed_point_position); - Tensor dst = create_tensor<Tensor>(shape, DataType::U16, 1, fixed_point_position); + Tensor src = create_tensor<Tensor>(shape, DataType::U8, 1); + Tensor dst = create_tensor<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<Tensor>(shape, DataType::U8, 1, fixed_point_position); - Tensor dst = create_tensor<Tensor>(shape, DataType::S16, 1, fixed_point_position); + Tensor src = create_tensor<Tensor>(shape, DataType::U8, 1); + Tensor dst = create_tensor<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<Tensor>(shape, DataType::U8, 1, fixed_point_position); - Tensor dst = create_tensor<Tensor>(shape, DataType::S32, 1, fixed_point_position); + Tensor src = create_tensor<Tensor>(shape, DataType::U8, 1); + Tensor dst = create_tensor<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<Tensor>(shape, DataType::U16, 1, fixed_point_position); - Tensor dst = create_tensor<Tensor>(shape, DataType::U8, 1, fixed_point_position); + Tensor src = create_tensor<Tensor>(shape, DataType::U16, 1); + Tensor dst = create_tensor<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<Tensor>(shape, DataType::U16, 1, fixed_point_position); - Tensor dst = create_tensor<Tensor>(shape, DataType::U32, 1, fixed_point_position); + Tensor src = create_tensor<Tensor>(shape, DataType::U16, 1); + Tensor dst = create_tensor<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<Tensor>(shape, DataType::S16, 1, fixed_point_position); - Tensor dst = create_tensor<Tensor>(shape, DataType::U8, 1, fixed_point_position); + Tensor src = create_tensor<Tensor>(shape, DataType::S16, 1); + Tensor dst = create_tensor<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<Tensor>(shape, DataType::S16, 1, fixed_point_position); - Tensor dst = create_tensor<Tensor>(shape, DataType::S32, 1, fixed_point_position); + Tensor src = create_tensor<Tensor>(shape, DataType::S16, 1); + Tensor dst = create_tensor<Tensor>(shape, DataType::S32, 1); // Create and Configure function NEDepthConvertLayer depth_convert; |