diff options
author | Pablo Tello <pablo.tello@arm.com> | 2017-08-22 13:34:13 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:35:24 +0000 |
commit | f5f34bb068565bf9435ba5561aae1c9280db8bbe (patch) | |
tree | 9920a815ee9653c3b97a09f90d765cb4efb7af06 /tests/datasets/ShapeDatasets.h | |
parent | 43fc5cd712eed23b9cec340f526e6d5fb5050afa (diff) | |
download | ComputeLibrary-f5f34bb068565bf9435ba5561aae1c9280db8bbe.tar.gz |
COMPMID-470: Neon Deconvolution.
Implemented by up-sampling the input with zeros insertions between the input samples and convolving the Deconvolution kernels on the up-sampled result.
The upsampling is performed by the function NEDeconvolutionLayerUpsample.
Convolving is done by NEDirectConvolutionLayer.
Change-Id: I25f7ba7c6b99cd9310797972ede40aeff4a54900
Reviewed-on: http://mpd-gerrit.cambridge.arm.com/85319
Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com>
Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'tests/datasets/ShapeDatasets.h')
-rw-r--r-- | tests/datasets/ShapeDatasets.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/datasets/ShapeDatasets.h b/tests/datasets/ShapeDatasets.h index 6b3b5c748f..86ed2b2ad7 100644 --- a/tests/datasets/ShapeDatasets.h +++ b/tests/datasets/ShapeDatasets.h @@ -198,6 +198,21 @@ public: } }; +/** Data set containing small tensor shapes for deconvolution. */ +class SmallDeconvolutionShapes final : public ShapeDataset +{ +public: + SmallDeconvolutionShapes() + : ShapeDataset("InputShape", + { + TensorShape{ 2U, 3U, 3U, 2U }, + TensorShape{ 5U, 5U, 3U }, + TensorShape{ 11U, 13U, 4U, 3U } + }) + { + } +}; + /** Data set containing small tensor shapes for direct convolution. */ class SmallDirectConvolutionShapes final : public ShapeDataset { |