From 2c350181118ec9eca864432c5bd78a0cfc3ebc32 Mon Sep 17 00:00:00 2001 From: Ioan-Cristian Szabo Date: Wed, 20 Dec 2017 16:27:37 +0000 Subject: COMPMID-761: Add CL/NEON Magnitude benchmark tests Change-Id: I9ed3718679d4bc96300a23ce8063d5e12c201bf9 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/114166 Tested-by: Jenkins Reviewed-by: Anthony Barbier --- tests/datasets/ShapeDatasets.h | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'tests/datasets/ShapeDatasets.h') diff --git a/tests/datasets/ShapeDatasets.h b/tests/datasets/ShapeDatasets.h index c9e5510760..58fba07bf8 100644 --- a/tests/datasets/ShapeDatasets.h +++ b/tests/datasets/ShapeDatasets.h @@ -337,6 +337,35 @@ public: } }; +/** Data set containing 2D tensor shapes relative to an image size. */ +class SmallImageShapes final : public ShapeDataset +{ +public: + SmallImageShapes() + : ShapeDataset("Shape", + { + TensorShape{ 640U, 480U }, + TensorShape{ 800U, 600U }, + TensorShape{ 1200U, 800U } + }) + { + } +}; + +/** Data set containing 2D tensor shapes relative to an image size. */ +class LargeImageShapes final : public ShapeDataset +{ +public: + LargeImageShapes() + : ShapeDataset("Shape", + { + TensorShape{ 1920U, 1080U }, + TensorShape{ 2560U, 1536U }, + TensorShape{ 3584U, 2048U } + }) + { + } +}; } // namespace datasets } // namespace test } // namespace arm_compute -- cgit v1.2.1