From 898db6f31f015d077fb87ef82e22abea74a8f710 Mon Sep 17 00:00:00 2001 From: Michalis Spyrou Date: Fri, 2 Mar 2018 11:34:05 +0000 Subject: 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 Tested-by: Jenkins --- tests/validation/fixtures/DepthConcatenateLayerFixture.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests') 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 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 -- cgit v1.2.1