diff options
Diffstat (limited to 'tests/benchmark/fixtures')
-rw-r--r-- | tests/benchmark/fixtures/ActivationLayerFixture.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/benchmark/fixtures/ActivationLayerFixture.h b/tests/benchmark/fixtures/ActivationLayerFixture.h index 8558527ad1..cb8fa7f086 100644 --- a/tests/benchmark/fixtures/ActivationLayerFixture.h +++ b/tests/benchmark/fixtures/ActivationLayerFixture.h @@ -46,9 +46,10 @@ public: shape.set(shape.num_dimensions(), batches); // Create tensors - const int fixed_point_position = 4; - src = create_tensor<TensorType>(shape, data_type, 1, fixed_point_position); - dst = create_tensor<TensorType>(shape, data_type, 1, fixed_point_position); + const int fixed_point_position = 4; + const QuantizationInfo q_info(0.5f, -10); + src = create_tensor<TensorType>(shape, data_type, 1, fixed_point_position, q_info); + dst = create_tensor<TensorType>(shape, data_type, 1, fixed_point_position, q_info); // Create and configure function act_layer.configure(&src, &dst, info); |