aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichalis Spyrou <michalis.spyrou@arm.com>2018-03-02 11:34:05 +0000
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:48:33 +0000
commit898db6f31f015d077fb87ef82e22abea74a8f710 (patch)
tree29c60361a20b3237fe82272b43874779317df605
parent3762e74da2eac34476d204cec360d1a0b6729307 (diff)
downloadComputeLibrary-898db6f31f015d077fb87ef82e22abea74a8f710.tar.gz
COMPMID-959 Changed depth sizes in DepthConcatenateLayerValidationFixture.
Depending on the distribution, the test could require a lot of memory for larger images resulting into a crash. Change-Id: Ifa775762ed25c848522867795a813f6c1ce73ab7 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/122994 Reviewed-by: Anthony Barbier <anthony.barbier@arm.com> Tested-by: Jenkins <bsgcomp@arm.com>
-rw-r--r--tests/validation/fixtures/DepthConcatenateLayerFixture.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/validation/fixtures/DepthConcatenateLayerFixture.h b/tests/validation/fixtures/DepthConcatenateLayerFixture.h
index e7fe6340f7..6e112c7359 100644
--- a/tests/validation/fixtures/DepthConcatenateLayerFixture.h
+++ b/tests/validation/fixtures/DepthConcatenateLayerFixture.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2017 ARM Limited.
+ * Copyright (c) 2017-2018 ARM Limited.
*
* SPDX-License-Identifier: MIT
*
@@ -51,12 +51,12 @@ public:
{
// Create input shapes
std::mt19937 gen(library->seed());
- std::uniform_int_distribution<> num_dis(2, 6);
+ std::uniform_int_distribution<> num_dis(2, 4);
const int num_tensors = num_dis(gen);
std::vector<TensorShape> shapes(num_tensors, shape);
- std::uniform_int_distribution<> depth_dis(1, 7);
- std::bernoulli_distribution mutate_dis(0.25f);
+ std::uniform_int_distribution<> depth_dis(1, 3);
+ std::bernoulli_distribution mutate_dis(0.5f);
std::uniform_real_distribution<> change_dis(-0.25f, 0.f);
// Generate more shapes based on the input