aboutsummaryrefslogtreecommitdiff
path: root/tests/datasets/ShapeDatasets.h
diff options
context:
space:
mode:
authorGiorgio Arena <giorgio.arena@arm.com>2018-08-07 11:53:30 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:54:54 +0000
commitc6aa49b6709edada24b1ab3bc1308e0974f9e057 (patch)
tree0509684f9f402a33d0494c1fa1f34c18f956fcf1 /tests/datasets/ShapeDatasets.h
parentbe4100605230868b5cc50cabee395613dbfb62cd (diff)
downloadComputeLibrary-c6aa49b6709edada24b1ab3bc1308e0974f9e057.tar.gz
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 <gianmarco.iodice@arm.com> Tested-by: Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'tests/datasets/ShapeDatasets.h')
-rw-r--r--tests/datasets/ShapeDatasets.h36
1 files changed, 36 insertions, 0 deletions
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
{