COMPMID-490: Move TensorInfo and TensorShape to new validation

Change-Id: I8dfe0ed9b1fbe3c09831bf028f4665bdd508d906
Reviewed-on: http://mpd-gerrit.cambridge.arm.com/89870
Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com>
Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
diff --git a/utils/TypePrinter.h b/utils/TypePrinter.h
index 4f424d9..b072d1a 100644
--- a/utils/TypePrinter.h
+++ b/utils/TypePrinter.h
@@ -26,6 +26,7 @@
 
 #include "arm_compute/core/Dimensions.h"
 #include "arm_compute/core/Error.h"
+#include "arm_compute/core/Strides.h"
 #include "arm_compute/core/Types.h"
 
 #include "tests/Types.h"
@@ -554,6 +555,13 @@
     return str.str();
 }
 
+inline std::string to_string(const Strides &stride)
+{
+    std::stringstream str;
+    str << stride;
+    return str.str();
+}
+
 /** Formatted output of the TensorShape type. */
 inline std::string to_string(const TensorShape &shape)
 {