aboutsummaryrefslogtreecommitdiff
path: root/tests/benchmark/common/FullyConnectedLayer.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/benchmark/common/FullyConnectedLayer.h')
-rw-r--r--tests/benchmark/common/FullyConnectedLayer.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/benchmark/common/FullyConnectedLayer.h b/tests/benchmark/common/FullyConnectedLayer.h
index 88adf83f2a..eeef1de28a 100644
--- a/tests/benchmark/common/FullyConnectedLayer.h
+++ b/tests/benchmark/common/FullyConnectedLayer.h
@@ -60,10 +60,10 @@ public:
dst_shape.set(dst_shape.num_dimensions(), batches);
// Create tensors
- src = create_tensor(src_shape, dt, 1, fixed_point_position);
- weights = create_tensor(fc_obj.weights_shape, dt, 1, fixed_point_position);
- bias = create_tensor(fc_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>(fc_obj.weights_shape, dt, 1, fixed_point_position);
+ bias = create_tensor<TensorType>(fc_obj.bias_shape, dt, 1, fixed_point_position);
+ dst = create_tensor<TensorType>(dst_shape, dt, 1, fixed_point_position);
// Create and configure function
fc_layer = std::unique_ptr<Function>(new Function());