aboutsummaryrefslogtreecommitdiff
path: root/tests/benchmark/fixtures/PoolingLayerFixture.h
diff options
context:
space:
mode:
authorVidhya Sudhan Loganathan <vidhyasudhan.loganathan@arm.com>2018-07-02 09:13:49 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:54:10 +0000
commit014333d73883c3872e458cedda5ccef586a7ccd4 (patch)
tree0f28bbc1ab769993af91b40e4584061f6ed6d3fa /tests/benchmark/fixtures/PoolingLayerFixture.h
parentde01468bbfff3a7d8bcbba3bfdf5698fb2e3b267 (diff)
downloadComputeLibrary-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/benchmark/fixtures/PoolingLayerFixture.h')
-rw-r--r--tests/benchmark/fixtures/PoolingLayerFixture.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/benchmark/fixtures/PoolingLayerFixture.h b/tests/benchmark/fixtures/PoolingLayerFixture.h
index 5a1a29612c..cbcfe2e869 100644
--- a/tests/benchmark/fixtures/PoolingLayerFixture.h
+++ b/tests/benchmark/fixtures/PoolingLayerFixture.h
@@ -48,7 +48,6 @@ public:
void setup(TensorShape src_shape, PoolingLayerInfo info, DataType data_type, DataLayout data_layout, int batches)
{
// Set batched in source and destination shapes
- const unsigned int fixed_point_position = 4;
// Permute shape if NHWC format
if(data_layout == DataLayout::NHWC)
@@ -56,7 +55,7 @@ public:
permute(src_shape, PermutationVector(2U, 0U, 1U));
}
- TensorInfo src_info(src_shape, 1, data_type, fixed_point_position);
+ TensorInfo src_info(src_shape, 1, data_type);
src_info.set_data_layout(data_layout);
TensorShape dst_shape = compute_pool_shape(src_info, info);
@@ -65,8 +64,8 @@ public:
dst_shape.set(dst_shape.num_dimensions(), batches);
// Create tensors
- src = create_tensor<TensorType>(src_shape, data_type, 1, fixed_point_position, QuantizationInfo(), data_layout);
- dst = create_tensor<TensorType>(dst_shape, data_type, 1, fixed_point_position, QuantizationInfo(), data_layout);
+ src = create_tensor<TensorType>(src_shape, data_type, 1, QuantizationInfo(), data_layout);
+ dst = create_tensor<TensorType>(dst_shape, data_type, 1, QuantizationInfo(), data_layout);
// Create and configure function
pool_layer.configure(&src, &dst, info);