aboutsummaryrefslogtreecommitdiff
path: root/tests/benchmark/fixtures/DepthwiseConvolutionLayerFixture.h
diff options
context:
space:
mode:
authorGiorgio Arena <giorgio.arena@arm.com>2018-01-08 16:19:23 +0000
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:42:33 +0000
commita302d696211c4e715916f6d19e865dc709cdae5f (patch)
tree6733a08d99d89397d170148d75c11c15f6179d76 /tests/benchmark/fixtures/DepthwiseConvolutionLayerFixture.h
parent4e2c139dae6afeda11da165bfff8fba60d2e84f3 (diff)
downloadComputeLibrary-a302d696211c4e715916f6d19e865dc709cdae5f.tar.gz
COMPMID-753 Add benchmarks for QASYMM8 depthwise convolution layers used in MobileNet
Change-Id: I72cdf54477838b01bc5fa1281b0b587646f1902b Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/115396 Tested-by: Jenkins <bsgcomp@arm.com> Reviewed-by: Gian Marco Iodice <gianmarco.iodice@arm.com>
Diffstat (limited to 'tests/benchmark/fixtures/DepthwiseConvolutionLayerFixture.h')
-rw-r--r--tests/benchmark/fixtures/DepthwiseConvolutionLayerFixture.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/benchmark/fixtures/DepthwiseConvolutionLayerFixture.h b/tests/benchmark/fixtures/DepthwiseConvolutionLayerFixture.h
index d505ba3006..093655dfdc 100644
--- a/tests/benchmark/fixtures/DepthwiseConvolutionLayerFixture.h
+++ b/tests/benchmark/fixtures/DepthwiseConvolutionLayerFixture.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2017 ARM Limited.
+ * Copyright (c) 2017, 2018 ARM Limited.
*
* SPDX-License-Identifier: MIT
*
@@ -50,7 +50,7 @@ public:
// Create tensors
src = create_tensor<TensorType>(src_shape, data_type, 1, fixed_point_position);
weights = create_tensor<TensorType>(weights_shape, data_type, 1, fixed_point_position);
- biases = create_tensor<TensorType>(TensorShape(weights_shape[2]), data_type, 1, fixed_point_position);
+ biases = create_tensor<TensorType>(TensorShape(weights_shape[2]), is_data_type_quantized_asymmetric(data_type) ? DataType::S32 : data_type, 1, fixed_point_position);
dst = create_tensor<TensorType>(dst_shape, data_type, 1, fixed_point_position);
// Create and configure function