aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorgiuros01 <giuseppe.rossini@arm.com>2018-09-13 09:31:40 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:55:19 +0000
commit188708170a51887868a7170c9ee963372bfb9ced (patch)
treefe8f1555022869d00a1c14a097fa58d013d9a8aa /utils
parent4e0ac6fd6bc647e811cc12c1e3d392a6151ec576 (diff)
downloadComputeLibrary-188708170a51887868a7170c9ee963372bfb9ced.tar.gz
[COMPMID-1331] Add support for RoIAlign operator in CL
Change-Id: Ie215daacd10477309dbf8af1bb2b05b7a0a8f203 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/150773 Tested-by: bsgcomp <bsgcomp@arm.com> Reviewed-by: Isabella Gottardi <isabella.gottardi@arm.com> Reviewed-by: Pablo Tello <pablo.tello@arm.com>
Diffstat (limited to 'utils')
-rw-r--r--utils/TypePrinter.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/utils/TypePrinter.h b/utils/TypePrinter.h
index d31c16c32b..10e407ddfa 100644
--- a/utils/TypePrinter.h
+++ b/utils/TypePrinter.h
@@ -220,6 +220,19 @@ inline ::std::ostream &operator<<(::std::ostream &os, const ROIPoolingLayerInfo
return os;
}
+/** Formatted output of the ROIPoolingInfo type.
+ *
+ * @param[in] pool_info Type to output.
+ *
+ * @return Formatted string.
+ */
+inline std::string to_string(const ROIPoolingLayerInfo &pool_info)
+{
+ std::stringstream str;
+ str << pool_info;
+ return str.str();
+}
+
/** Formatted output of the QuantizationInfo type.
*
* @param[out] os Output stream.