COMPMID-1719 CL: Implement RSqrt, Exp

Change-Id: I827b26239043a9e90d26c2583122648d2a45303a
Reviewed-on: https://review.mlplatform.org/317
Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
diff --git a/utils/TypePrinter.h b/utils/TypePrinter.h
index 27560e6..6850ea0 100644
--- a/utils/TypePrinter.h
+++ b/utils/TypePrinter.h
@@ -1453,6 +1453,30 @@
     return os;
 }
 
+/** Formatted output of the Elementwise unary Operations.
+ *
+ * @param[out] os Output stream.
+ * @param[in]  op Type to output.
+ *
+ * @return Modified output stream.
+ */
+inline ::std::ostream &operator<<(::std::ostream &os, const ElementWiseUnary &op)
+{
+    switch(op)
+    {
+        case ElementWiseUnary::RSQRT:
+            os << "RSQRT";
+            break;
+        case ElementWiseUnary::EXP:
+            os << "EXP";
+            break;
+        default:
+            ARM_COMPUTE_ERROR("NOT_SUPPORTED!");
+    }
+
+    return os;
+}
+
 /** Formatted output of the Comparison Operations.
  *
  * @param[in] op Type to output.
@@ -1466,6 +1490,19 @@
     return str.str();
 }
 
+/** Formatted output of the Elementwise unary Operations.
+ *
+ * @param[in] op Type to output.
+ *
+ * @return Formatted string.
+ */
+inline std::string to_string(const ElementWiseUnary &op)
+{
+    std::stringstream str;
+    str << op;
+    return str.str();
+}
+
 /** Formatted output of the Norm Type.
  *
  * @param[in] type Type to output.