diff options
author | Gian Marco Iodice <gianmarco.iodice@arm.com> | 2018-07-03 12:22:09 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:54:10 +0000 |
commit | 876be2a0d11874d871860dbd22481f831d6878f6 (patch) | |
tree | 907afac009513f882b39b2770b187635cebd1664 /tests/datasets/ShapeDatasets.h | |
parent | 09daf4ddf5940d18ce95e7dd0859d1dace3b133e (diff) | |
download | ComputeLibrary-876be2a0d11874d871860dbd22481f831d6878f6.tar.gz |
COMPMID-1339 - Implementing Winograd Convolution Layer 1x5 and 5x1 kernels on OpenCL NCHW
Change-Id: Ia293cd89651146a0e27e5f7c74ca9c924807e83c
Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/138707
Tested-by: Jenkins <bsgcomp@arm.com>
Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
Diffstat (limited to 'tests/datasets/ShapeDatasets.h')
-rw-r--r-- | tests/datasets/ShapeDatasets.h | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/tests/datasets/ShapeDatasets.h b/tests/datasets/ShapeDatasets.h index 766530b0d7..bc98b1e471 100644 --- a/tests/datasets/ShapeDatasets.h +++ b/tests/datasets/ShapeDatasets.h @@ -500,6 +500,70 @@ public: } }; +/** Data set containing small 5x1 tensor shapes. */ +class Small5x1Shapes final : public ShapeDataset +{ +public: + Small5x1Shapes() + : ShapeDataset("Shape", + { + TensorShape{ 5U, 1U, 7U, 4U }, + TensorShape{ 5U, 1U, 4U, 13U }, + TensorShape{ 5U, 1U, 9U, 2U }, + TensorShape{ 5U, 1U, 3U, 5U }, + }) + { + } +}; + +/** Data set containing large 5x1 tensor shapes. */ +class Large5x1Shapes final : public ShapeDataset +{ +public: + Large5x1Shapes() + : ShapeDataset("Shape", + { + TensorShape{ 5U, 1U, 32U, 64U }, + TensorShape{ 5U, 1U, 51U, 13U }, + TensorShape{ 5U, 1U, 53U, 47U }, + TensorShape{ 5U, 1U, 128U, 384U }, + }) + { + } +}; + +/** Data set containing small 1x5 tensor shapes. */ +class Small1x5Shapes final : public ShapeDataset +{ +public: + Small1x5Shapes() + : ShapeDataset("Shape", + { + TensorShape{ 1U, 5U, 7U, 4U }, + TensorShape{ 1U, 5U, 4U, 13U }, + TensorShape{ 1U, 5U, 9U, 2U }, + TensorShape{ 1U, 5U, 3U, 5U }, + }) + { + } +}; + +/** Data set containing large 1x5 tensor shapes. */ +class Large1x5Shapes final : public ShapeDataset +{ +public: + Large1x5Shapes() + : ShapeDataset("Shape", + { + TensorShape{ 1U, 5U, 32U, 64U }, + TensorShape{ 1U, 5U, 51U, 13U }, + TensorShape{ 1U, 5U, 53U, 47U }, + TensorShape{ 1U, 5U, 128U, 384U }, + }) + { + } +}; + /** Data set containing small tensor shapes for deconvolution. */ class SmallDeconvolutionShapes final : public ShapeDataset { |