diff options
author | Moritz Pflanzer <moritz.pflanzer@arm.com> | 2017-06-30 12:48:43 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-09-17 14:15:39 +0100 |
commit | 94450f1fc91a89778354c2e1c07a328ba86d9cfc (patch) | |
tree | 9a84b1b86f5361027492b6698ea946d2e321baba /tests/benchmark/common/ConvolutionLayer.h | |
parent | d4f8c27f08c968f608a9e0e9b88df1871f62cdd3 (diff) | |
download | ComputeLibrary-94450f1fc91a89778354c2e1c07a328ba86d9cfc.tar.gz |
COMPMID-417: Use a common create_tensor function
Change-Id: I6b0511484a5b433ebec3fd62d778e64dcb4f89b5
Reviewed-on: http://mpd-gerrit.cambridge.arm.com/79362
Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com>
Diffstat (limited to 'tests/benchmark/common/ConvolutionLayer.h')
-rw-r--r-- | tests/benchmark/common/ConvolutionLayer.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/benchmark/common/ConvolutionLayer.h b/tests/benchmark/common/ConvolutionLayer.h index 594c62c50e..a777a95bde 100644 --- a/tests/benchmark/common/ConvolutionLayer.h +++ b/tests/benchmark/common/ConvolutionLayer.h @@ -59,10 +59,10 @@ public: dst_shape.set(3 /* batch */, batches); // Create tensors - src = create_tensor(src_shape, dt, 1, fixed_point_position); - weights = create_tensor(conv_obj.weights_shape, dt, 1, fixed_point_position); - bias = create_tensor(conv_obj.bias_shape, dt, 1, fixed_point_position); - dst = create_tensor(dst_shape, dt, 1, fixed_point_position); + src = create_tensor<TensorType>(src_shape, dt, 1, fixed_point_position); + weights = create_tensor<TensorType>(conv_obj.weights_shape, dt, 1, fixed_point_position); + bias = create_tensor<TensorType>(conv_obj.bias_shape, dt, 1, fixed_point_position); + dst = create_tensor<TensorType>(dst_shape, dt, 1, fixed_point_position); // Create and configure function conv_layer = std::unique_ptr<Function>(new Function()); |