From c6aa49b6709edada24b1ab3bc1308e0974f9e057 Mon Sep 17 00:00:00 2001 From: Giorgio Arena Date: Tue, 7 Aug 2018 11:53:30 +0100 Subject: COMPMID-1344 Add grouping support to CLWeightsReshapeKernel Change-Id: Idde333308db71087ec234b3fd1eb4e36a44db46c Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/143049 Reviewed-by: Gian Marco Iodice Tested-by: Jenkins --- tests/datasets/ShapeDatasets.h | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) (limited to 'tests/datasets/ShapeDatasets.h') diff --git a/tests/datasets/ShapeDatasets.h b/tests/datasets/ShapeDatasets.h index bc98b1e471..937bd08c6f 100644 --- a/tests/datasets/ShapeDatasets.h +++ b/tests/datasets/ShapeDatasets.h @@ -635,6 +635,42 @@ public: } }; +/** Data set containing small grouped weights tensor shapes. */ +class GroupedWeightsSmallShapes final : public ShapeDataset +{ +public: + GroupedWeightsSmallShapes() + : ShapeDataset("Shape", + { + TensorShape{ 3U, 3U, 48U, 120U }, + TensorShape{ 1U, 3U, 24U, 240U }, + TensorShape{ 3U, 1U, 12U, 480U }, + TensorShape{ 5U, 5U, 48U, 120U }, + TensorShape{ 1U, 5U, 24U, 240U }, + TensorShape{ 5U, 1U, 48U, 480U } + }) + { + } +}; + +/** Data set containing large grouped weights tensor shapes. */ +class GroupedWeightsLargeShapes final : public ShapeDataset +{ +public: + GroupedWeightsLargeShapes() + : ShapeDataset("Shape", + { + TensorShape{ 9U, 9U, 96U, 240U }, + TensorShape{ 7U, 9U, 48U, 480U }, + TensorShape{ 9U, 7U, 24U, 960U }, + TensorShape{ 13U, 13U, 96U, 240U }, + TensorShape{ 11U, 13U, 48U, 480U }, + TensorShape{ 13U, 11U, 24U, 960U } + }) + { + } +}; + /** Data set containing 2D tensor shapes for DepthConcatenateLayer. */ class DepthConcatenateLayerShapes final : public ShapeDataset { -- cgit v1.2.1