aboutsummaryrefslogtreecommitdiff
path: root/tests/validation/fixtures/DepthConcatenateLayerFixture.h
diff options
context:
space:
mode:
authorGeorgios Pinitas <georgios.pinitas@arm.com>2018-07-16 14:40:09 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:54:54 +0000
commite29acf14f5c3f2d2c20799a1ea3e4aad50dff834 (patch)
treeca7a01ed169605404b2b954fc0d174ee00e121f2 /tests/validation/fixtures/DepthConcatenateLayerFixture.h
parent76259ca5a74a60ef2b80f29431ab53bbac9fdb63 (diff)
downloadComputeLibrary-e29acf14f5c3f2d2c20799a1ea3e4aad50dff834.tar.gz
COMPMID-1365: Add support for NHWC in CLDepthConcatenateLayer
Change-Id: I3ed55bdb95d888aff0b0b76fb841bf1669659308 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/139963 Tested-by: Jenkins <bsgcomp@arm.com> Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'tests/validation/fixtures/DepthConcatenateLayerFixture.h')
-rw-r--r--tests/validation/fixtures/DepthConcatenateLayerFixture.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/validation/fixtures/DepthConcatenateLayerFixture.h b/tests/validation/fixtures/DepthConcatenateLayerFixture.h
index 76b56ad26e..5fdfacbb76 100644
--- a/tests/validation/fixtures/DepthConcatenateLayerFixture.h
+++ b/tests/validation/fixtures/DepthConcatenateLayerFixture.h
@@ -26,6 +26,7 @@
#include "arm_compute/core/TensorShape.h"
#include "arm_compute/core/Types.h"
+#include "arm_compute/core/utils/misc/ShapeCalculator.h"
#include "tests/AssetsLibrary.h"
#include "tests/Globals.h"
#include "tests/IAccessor.h"
@@ -106,7 +107,7 @@ protected:
src_ptrs.emplace_back(&srcs.back());
}
- TensorShape dst_shape = calculate_depth_concatenate_shape(shapes);
+ TensorShape dst_shape = misc::shape_calculator::calculate_depth_concatenate_shape(src_ptrs);
TensorType dst = create_tensor<TensorType>(dst_shape, data_type, 1);
// Create and configure function