aboutsummaryrefslogtreecommitdiff
path: root/tests/validation/GLES_COMPUTE/BatchNormalizationLayer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/validation/GLES_COMPUTE/BatchNormalizationLayer.cpp')
-rw-r--r--tests/validation/GLES_COMPUTE/BatchNormalizationLayer.cpp15
1 files changed, 6 insertions, 9 deletions
diff --git a/tests/validation/GLES_COMPUTE/BatchNormalizationLayer.cpp b/tests/validation/GLES_COMPUTE/BatchNormalizationLayer.cpp
index d22f1e9958..3a3d1d796d 100644
--- a/tests/validation/GLES_COMPUTE/BatchNormalizationLayer.cpp
+++ b/tests/validation/GLES_COMPUTE/BatchNormalizationLayer.cpp
@@ -67,9 +67,6 @@ DATA_TEST_CASE(Configuration, framework::DatasetMode::ALL, combine(combine(combi
framework::dataset::make("DataLayout", { DataLayout::NCHW })),
shape0, shape1, epsilon, use_beta, use_gamma, dt, data_layout)
{
- // Set fixed point position data type allowed
- int fixed_point_position = (arm_compute::is_data_type_fixed_point(dt)) ? 3 : 0;
-
TensorShape src_dst_shapes = shape0;
if(data_layout == DataLayout::NHWC)
{
@@ -77,12 +74,12 @@ DATA_TEST_CASE(Configuration, framework::DatasetMode::ALL, combine(combine(combi
}
// Create tensors
- GCTensor src = create_tensor<GCTensor>(src_dst_shapes, dt, 1, fixed_point_position, QuantizationInfo(), data_layout);
- GCTensor dst = create_tensor<GCTensor>(src_dst_shapes, dt, 1, fixed_point_position, QuantizationInfo(), data_layout);
- GCTensor mean = create_tensor<GCTensor>(shape1, dt, 1, fixed_point_position);
- GCTensor var = create_tensor<GCTensor>(shape1, dt, 1, fixed_point_position);
- GCTensor beta = create_tensor<GCTensor>(shape1, dt, 1, fixed_point_position);
- GCTensor gamma = create_tensor<GCTensor>(shape1, dt, 1, fixed_point_position);
+ GCTensor src = create_tensor<GCTensor>(src_dst_shapes, dt, 1, QuantizationInfo(), data_layout);
+ GCTensor dst = create_tensor<GCTensor>(src_dst_shapes, dt, 1, QuantizationInfo(), data_layout);
+ GCTensor mean = create_tensor<GCTensor>(shape1, dt, 1);
+ GCTensor var = create_tensor<GCTensor>(shape1, dt, 1);
+ GCTensor beta = create_tensor<GCTensor>(shape1, dt, 1);
+ GCTensor gamma = create_tensor<GCTensor>(shape1, dt, 1);
// Create and Configure function
GCBatchNormalizationLayer norm;