aboutsummaryrefslogtreecommitdiff
path: root/tests/datasets/ShapeDatasets.h
diff options
context:
space:
mode:
authorGian Marco Iodice <gianmarco.iodice@arm.com>2018-06-13 14:05:54 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:53:57 +0000
commitf1c2bf0971dd1c996da149faf3dd669d566074c7 (patch)
tree802b3ce5198c3209d77fc6b603c209023fe45650 /tests/datasets/ShapeDatasets.h
parent89a2b571cfc0ea87c26ba8b1ed1ab87d13244f0e (diff)
downloadComputeLibrary-f1c2bf0971dd1c996da149faf3dd669d566074c7.tar.gz
COMPMID-1201 - Implementing Winograd Convolution Layer 1x3 and 3x1 kernels on OpenCL
Change-Id: I39667bab49daa4da009694163274a59fd3574c73 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/137595 Tested-by: Jenkins <bsgcomp@arm.com> Reviewed-by: Giorgio Arena <giorgio.arena@arm.com> Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
Diffstat (limited to 'tests/datasets/ShapeDatasets.h')
-rw-r--r--tests/datasets/ShapeDatasets.h64
1 files changed, 64 insertions, 0 deletions
diff --git a/tests/datasets/ShapeDatasets.h b/tests/datasets/ShapeDatasets.h
index a5620ff7cf..68263c7793 100644
--- a/tests/datasets/ShapeDatasets.h
+++ b/tests/datasets/ShapeDatasets.h
@@ -388,6 +388,38 @@ public:
}
};
+/** Data set containing small 3x1 tensor shapes. */
+class Small3x1Shapes final : public ShapeDataset
+{
+public:
+ Small3x1Shapes()
+ : ShapeDataset("Shape",
+ {
+ TensorShape{ 3U, 1U, 7U, 4U },
+ TensorShape{ 3U, 1U, 4U, 13U },
+ TensorShape{ 3U, 1U, 9U, 2U },
+ TensorShape{ 3U, 1U, 3U, 5U },
+ })
+ {
+ }
+};
+
+/** Data set containing small 1x3 tensor shapes. */
+class Small1x3Shapes final : public ShapeDataset
+{
+public:
+ Small1x3Shapes()
+ : ShapeDataset("Shape",
+ {
+ TensorShape{ 1U, 3U, 7U, 4U },
+ TensorShape{ 1U, 3U, 4U, 13U },
+ TensorShape{ 1U, 3U, 9U, 2U },
+ TensorShape{ 1U, 3U, 3U, 5U },
+ })
+ {
+ }
+};
+
/** Data set containing large 3x3 tensor shapes. */
class Large3x3Shapes final : public ShapeDataset
{
@@ -404,6 +436,38 @@ public:
}
};
+/** Data set containing large 3x1 tensor shapes. */
+class Large3x1Shapes final : public ShapeDataset
+{
+public:
+ Large3x1Shapes()
+ : ShapeDataset("Shape",
+ {
+ TensorShape{ 3U, 1U, 32U, 64U },
+ TensorShape{ 3U, 1U, 51U, 13U },
+ TensorShape{ 3U, 1U, 53U, 47U },
+ TensorShape{ 3U, 1U, 128U, 384U },
+ })
+ {
+ }
+};
+
+/** Data set containing large 1x3 tensor shapes. */
+class Large1x3Shapes final : public ShapeDataset
+{
+public:
+ Large1x3Shapes()
+ : ShapeDataset("Shape",
+ {
+ TensorShape{ 1U, 3U, 32U, 64U },
+ TensorShape{ 1U, 3U, 51U, 13U },
+ TensorShape{ 1U, 3U, 53U, 47U },
+ TensorShape{ 1U, 3U, 128U, 384U },
+ })
+ {
+ }
+};
+
/** Data set containing small 5x5 tensor shapes. */
class Small5x5Shapes final : public ShapeDataset
{