[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 <bsgcomp@arm.com>
Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
diff --git a/tests/datasets/ShapeDatasets.h b/tests/datasets/ShapeDatasets.h
index 4d75a16..c7955bc 100644
--- a/tests/datasets/ShapeDatasets.h
+++ b/tests/datasets/ShapeDatasets.h
@@ -794,6 +794,24 @@
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 },
})
{
}