diff options
author | Michele Di Giorgio <michele.digiorgio@arm.com> | 2019-02-27 14:26:51 +0000 |
---|---|---|
committer | Giuseppe Rossini <giuseppe.rossini@arm.com> | 2019-04-02 12:17:12 +0000 |
commit | 881c6842eadf2d2fd4578b9f62ee6238a83cad65 (patch) | |
tree | 439a3faede9efbe359685d035d71398b80e70a50 /tests/datasets/ShapeDatasets.h | |
parent | cafec8f19ee126b72ba2b0194bd25a5a93727980 (diff) | |
download | ComputeLibrary-881c6842eadf2d2fd4578b9f62ee6238a83cad65.tar.gz |
COMPMID-1318: Implementing Winograd 7x7 NHWC on OpenCL -- Part II
Change-Id: I036558d832c697da1fe9ea04ada0df38dc793914
Signed-off-by: giuros01 <giuseppe.rossini@arm.com>
Reviewed-on: https://review.mlplatform.org/c/923
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Gian Marco Iodice <gianmarco.iodice@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'tests/datasets/ShapeDatasets.h')
-rw-r--r-- | tests/datasets/ShapeDatasets.h | 96 |
1 files changed, 96 insertions, 0 deletions
diff --git a/tests/datasets/ShapeDatasets.h b/tests/datasets/ShapeDatasets.h index b6923c15c9..f3e3220fd6 100644 --- a/tests/datasets/ShapeDatasets.h +++ b/tests/datasets/ShapeDatasets.h @@ -580,6 +580,102 @@ public: } }; +/** Data set containing small 1x7 tensor shapes. */ +class Small1x7Shapes final : public ShapeDataset +{ +public: + Small1x7Shapes() + : ShapeDataset("Shape", + { + TensorShape{ 1U, 7U, 7U, 4U }, + TensorShape{ 1U, 7U, 4U, 13U }, + TensorShape{ 1U, 7U, 9U, 2U }, + TensorShape{ 1U, 7U, 3U, 5U }, + }) + { + } +}; + +/** Data set containing large 1x7 tensor shapes. */ +class Large1x7Shapes final : public ShapeDataset +{ +public: + Large1x7Shapes() + : ShapeDataset("Shape", + { + TensorShape{ 1U, 7U, 32U, 64U }, + TensorShape{ 1U, 7U, 51U, 13U }, + TensorShape{ 1U, 7U, 53U, 47U }, + TensorShape{ 1U, 7U, 128U, 384U }, + }) + { + } +}; + +/** Data set containing small 7x7 tensor shapes. */ +class Small7x7Shapes final : public ShapeDataset +{ +public: + Small7x7Shapes() + : ShapeDataset("Shape", + { + TensorShape{ 7U, 7U, 7U, 4U }, + TensorShape{ 7U, 7U, 4U, 13U }, + TensorShape{ 7U, 7U, 9U, 2U }, + TensorShape{ 7U, 7U, 3U, 5U }, + }) + { + } +}; + +/** Data set containing large 7x7 tensor shapes. */ +class Large7x7Shapes final : public ShapeDataset +{ +public: + Large7x7Shapes() + : ShapeDataset("Shape", + { + TensorShape{ 7U, 7U, 32U, 64U }, + TensorShape{ 7U, 7U, 51U, 13U }, + TensorShape{ 7U, 7U, 53U, 47U }, + TensorShape{ 7U, 7U, 128U, 384U }, + }) + { + } +}; + +/** Data set containing small 7x1 tensor shapes. */ +class Small7x1Shapes final : public ShapeDataset +{ +public: + Small7x1Shapes() + : ShapeDataset("Shape", + { + TensorShape{ 7U, 1U, 7U, 4U }, + TensorShape{ 7U, 1U, 4U, 13U }, + TensorShape{ 7U, 1U, 9U, 2U }, + TensorShape{ 7U, 1U, 3U, 5U }, + }) + { + } +}; + +/** Data set containing large 7x1 tensor shapes. */ +class Large7x1Shapes final : public ShapeDataset +{ +public: + Large7x1Shapes() + : ShapeDataset("Shape", + { + TensorShape{ 7U, 1U, 32U, 64U }, + TensorShape{ 7U, 1U, 51U, 13U }, + TensorShape{ 7U, 1U, 53U, 47U }, + TensorShape{ 7U, 1U, 128U, 384U }, + }) + { + } +}; + /** Data set containing small tensor shapes for deconvolution. */ class SmallDeconvolutionShapes final : public ShapeDataset { |