IVGCVSW-8113 Update EndToEnd tests and TosaReference support for Maximum

  * Added ElementwiseBinary EndToEnd tests with inputs of the same shape to avoid Reshape
  * Added Slice EndToEnd tests with 4D tensors
  * Added TosaReference support for Maximum and TosaRefEndToEnd tests

Signed-off-by: Tianle Cheng <tianle.cheng@arm.com>
Change-Id: I4fa24435a75559e00b110d0e542b4f2bf07b21b4
diff --git a/src/backends/tosaReference/TosaRefLayerSupport.cpp b/src/backends/tosaReference/TosaRefLayerSupport.cpp
index ec6fc3b..60d0f7c 100644
--- a/src/backends/tosaReference/TosaRefLayerSupport.cpp
+++ b/src/backends/tosaReference/TosaRefLayerSupport.cpp
@@ -40,6 +40,7 @@
         case LayerType::Addition:
         case LayerType::Multiplication:
         case LayerType::Subtraction:
+        case LayerType::ElementwiseBinary:
             // Setup inputs and outputs
             inputInfos.push_back(&infos[0]);
             inputInfos.push_back(&infos[1]);