From 87e896a46a9403813654cadd609960c3b2af87be Mon Sep 17 00:00:00 2001 From: Giuseppe Rossini Date: Fri, 24 Aug 2018 10:24:12 +0100 Subject: [COMPMID-1353] Add support for 4D Softmax layer on OpenCL Change-Id: I4342d4240fe5b1aab234c015684a1216c3990a5f Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/145631 Tested-by: Jenkins Reviewed-by: Anthony Barbier Reviewed-by: Georgios Pinitas --- tests/datasets/ShapeDatasets.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'tests/datasets/ShapeDatasets.h') diff --git a/tests/datasets/ShapeDatasets.h b/tests/datasets/ShapeDatasets.h index 4d75a16e47..c7955bc8c5 100644 --- a/tests/datasets/ShapeDatasets.h +++ b/tests/datasets/ShapeDatasets.h @@ -794,6 +794,24 @@ public: TensorShape{ 1000U, 10U }, TensorShape{ 3989U, 10U }, TensorShape{ 7339U, 11U }, + + }) + { + } +}; + +/** Data set containing large and small softmax layer 4D shapes. */ +class SoftmaxLayer4DShapes final : public ShapeDataset +{ +public: + SoftmaxLayer4DShapes() + : ShapeDataset("Shape", + { + TensorShape{ 9U, 9U, 9U, 9U }, + TensorShape{ 256U, 10U, 1U, 9U }, + TensorShape{ 353U, 8U, 2U }, + TensorShape{ 781U, 5U, 2U, 2U }, + TensorShape{ 781U, 11U, 1U, 2U }, }) { } -- cgit v1.2.1