From a9c4472188abef421adb589e2a6fef52727d465f Mon Sep 17 00:00:00 2001 From: Michalis Spyrou Date: Fri, 5 Apr 2019 17:18:36 +0100 Subject: COMPMID-2051 Refactor shape_calculator::calculate_concatenate_shape Change-Id: Ibf316718d11fa975d75f226925747b21c4efd127 Signed-off-by: Michalis Spyrou Reviewed-on: https://review.mlplatform.org/c/974 Comments-Addressed: Arm Jenkins Tested-by: Arm Jenkins Reviewed-by: Michele Di Giorgio --- tests/validation/CL/DepthConcatenateLayer.cpp | 4 ++-- tests/validation/CL/LSTMLayer.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/validation/CL') diff --git a/tests/validation/CL/DepthConcatenateLayer.cpp b/tests/validation/CL/DepthConcatenateLayer.cpp index 5da8a34351..beda637ef3 100644 --- a/tests/validation/CL/DepthConcatenateLayer.cpp +++ b/tests/validation/CL/DepthConcatenateLayer.cpp @@ -83,8 +83,8 @@ TEST_CASE(Configuration, framework::DatasetMode::ALL) { // Create tensors CLTensor src1 = create_tensor(TensorShape(128U, 32U, 32U), DataType::F32, 1); - CLTensor src2 = create_tensor(TensorShape(32U, 32U, 32U), DataType::F32, 1); - CLTensor src3 = create_tensor(TensorShape(16U, 32U, 32U), DataType::F32, 1); + CLTensor src2 = create_tensor(TensorShape(128U, 32U, 32U), DataType::F32, 1); + CLTensor src3 = create_tensor(TensorShape(128U, 32U, 32U), DataType::F32, 1); CLTensor dst; ARM_COMPUTE_EXPECT(src1.info()->is_resizable(), framework::LogLevel::ERRORS); diff --git a/tests/validation/CL/LSTMLayer.cpp b/tests/validation/CL/LSTMLayer.cpp index ea20bd6c2c..71a9383d93 100644 --- a/tests/validation/CL/LSTMLayer.cpp +++ b/tests/validation/CL/LSTMLayer.cpp @@ -109,7 +109,7 @@ DATA_TEST_CASE(Validate, framework::DatasetMode::ALL, zip(zip(zip(zip(zip(zip(zi TensorInfo(TensorShape(16U, 2U), 1, DataType::F32), TensorInfo(TensorShape(16U, 2U), 1, DataType::F32), TensorInfo(TensorShape(16U, 2U), 1, DataType::F32), - TensorInfo(TensorShape(11U, 13U), 1, DataType::F32), + TensorInfo(TensorShape(11U, 2U), 1, DataType::F32), TensorInfo(TensorShape(16U, 2U), 1, DataType::F32), })), framework::dataset::make("ScratchInfo", { TensorInfo(TensorShape(64U, 2U), 1, DataType::F32), -- cgit v1.2.1