From f1c2bf0971dd1c996da149faf3dd669d566074c7 Mon Sep 17 00:00:00 2001 From: Gian Marco Iodice Date: Wed, 13 Jun 2018 14:05:54 +0100 Subject: 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 Reviewed-by: Giorgio Arena Reviewed-by: Georgios Pinitas --- tests/datasets/ShapeDatasets.h | 64 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) (limited to 'tests/datasets/ShapeDatasets.h') 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 { -- cgit v1.2.1