COMPMID-492: Port ArithmeticAddition to new validation
Change-Id: I134b5ed6581b42fac6be6311679473b67d1d5bf4
Reviewed-on: http://mpd-gerrit.cambridge.arm.com/85972
Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com>
diff --git a/tests/TypePrinter.h b/tests/TypePrinter.h
index bbccaad..f276f45 100644
--- a/tests/TypePrinter.h
+++ b/tests/TypePrinter.h
@@ -219,6 +219,13 @@
return os;
}
+inline std::string to_string(const ConvertPolicy &policy)
+{
+ std::stringstream str;
+ str << policy;
+ return str.str();
+}
+
/** Formatted output of the Reduction Operations. */
inline ::std::ostream &operator<<(::std::ostream &os, const ReductionOperation &op)
{
@@ -234,6 +241,13 @@
return os;
}
+inline std::string to_string(const ReductionOperation &op)
+{
+ std::stringstream str;
+ str << op;
+ return str.str();
+}
+
/** Formatted output of the activation function type. */
inline ::std::ostream &operator<<(::std::ostream &os, const ActivationLayerInfo::ActivationFunction &act_function)
{
@@ -279,13 +293,6 @@
return os;
}
-inline std::string to_string(const ReductionOperation &op)
-{
- std::stringstream str;
- str << op;
- return str.str();
-}
-
inline std::string to_string(const ActivationLayerInfo::ActivationFunction &function)
{
std::stringstream str;