COMPMID-2111: ConcatenateLayer API should accept an index instead of an enum

Alters the concatenate layer to be layout agnostic and accept an index
as thec concatenation axis instead of an typed layout dependent
enumeration.

Change-Id: I0eaaf919f66a1ba1b09bbfb47c171fc1d4045530
Signed-off-by: Georgios Pinitas <georgios.pinitas@arm.com>
Reviewed-on: https://review.mlplatform.org/c/994
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Michele Di Giorgio <michele.digiorgio@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
diff --git a/tests/validation/fixtures/ConcatenateLayerFixture.h b/tests/validation/fixtures/ConcatenateLayerFixture.h
index db09957..39d4f9f 100644
--- a/tests/validation/fixtures/ConcatenateLayerFixture.h
+++ b/tests/validation/fixtures/ConcatenateLayerFixture.h
@@ -112,21 +112,7 @@
 
         // Create and configure function
         FunctionType concat;
-        switch(axis)
-        {
-            case 0:
-                concat.configure(src_ptrs, &dst, DataLayoutDimension::WIDTH);
-                break;
-            case 1:
-                concat.configure(src_ptrs, &dst, DataLayoutDimension::HEIGHT);
-                break;
-            case 2:
-                concat.configure(src_ptrs, &dst, DataLayoutDimension::CHANNEL);
-                break;
-            default:
-                ARM_COMPUTE_ERROR("Not supported");
-                break;
-        }
+        concat.configure(src_ptrs, &dst, axis);
 
         for(auto &src : srcs)
         {