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/SmallConvolutionLayerDataset.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/SmallConvolutionLayerDataset.h')
-rw-r--r-- | tests/datasets/SmallConvolutionLayerDataset.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/datasets/SmallConvolutionLayerDataset.h b/tests/datasets/SmallConvolutionLayerDataset.h index f05cc15c06..ae12dd4b16 100644 --- a/tests/datasets/SmallConvolutionLayerDataset.h +++ b/tests/datasets/SmallConvolutionLayerDataset.h @@ -92,6 +92,26 @@ public: } }; +class SmallWinogradConvolutionLayer5x1Dataset final : public ConvolutionLayerDataset +{ +public: + SmallWinogradConvolutionLayer5x1Dataset() + { + add_config(TensorShape(8U, 8U, 2U), TensorShape(5U, 1U, 2U, 1U), TensorShape(1U), TensorShape(4U, 8U, 1U), PadStrideInfo(1, 1, 0, 0)); + add_config(TensorShape(8U, 8U, 2U), TensorShape(5U, 1U, 2U), TensorShape(1U), TensorShape(8U, 8U, 1U), PadStrideInfo(1, 1, 2, 0)); + } +}; + +class SmallWinogradConvolutionLayer1x5Dataset final : public ConvolutionLayerDataset +{ +public: + SmallWinogradConvolutionLayer1x5Dataset() + { + add_config(TensorShape(8U, 8U, 2U), TensorShape(1U, 5U, 2U, 1U), TensorShape(1U), TensorShape(8U, 4U, 1U), PadStrideInfo(1, 1, 0, 0)); + add_config(TensorShape(8U, 8U, 2U), TensorShape(1U, 5U, 2U), TensorShape(1U), TensorShape(8U, 8U, 1U), PadStrideInfo(1, 1, 0, 2)); + } +}; + class SmallConvolutionLayerDataset final : public ConvolutionLayerDataset { public: |