From 6db73ce5222d4b27b06c4e4aa9e466ceb9a09ba2 Mon Sep 17 00:00:00 2001 From: Moritz Pflanzer Date: Wed, 19 Jul 2017 10:18:42 +0100 Subject: COMPMID-415: Move NormalizationLayer to new validation Change-Id: Icf5781c920836fe87d2db27ca3f9cc4eb2bea554 Reviewed-on: http://mpd-gerrit.cambridge.arm.com/80999 Reviewed-by: Anthony Barbier Tested-by: Kaizen --- tests/TypePrinter.h | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'tests/TypePrinter.h') diff --git a/tests/TypePrinter.h b/tests/TypePrinter.h index ed7933cacc..10d33882ce 100644 --- a/tests/TypePrinter.h +++ b/tests/TypePrinter.h @@ -240,7 +240,7 @@ inline ::std::ostream &operator<<(::std::ostream &os, const ActivationLayerInfo: return os; } -inline std::string to_string(const arm_compute::ActivationLayerInfo &info) +inline std::string to_string(const ActivationLayerInfo &info) { std::stringstream str; str << info.activation(); @@ -268,7 +268,14 @@ inline ::std::ostream &operator<<(::std::ostream &os, const NormType &norm_type) return os; } -inline std::string to_string(const arm_compute::NormalizationLayerInfo &info) +inline std::string to_string(const NormType &type) +{ + std::stringstream str; + str << type; + return str.str(); +} + +inline std::string to_string(const NormalizationLayerInfo &info) { std::stringstream str; str << info.type(); @@ -379,7 +386,7 @@ inline ::std::ostream &operator<<(::std::ostream &os, const DataType &data_type) return os; } -inline std::string to_string(const arm_compute::DataType &data_type) +inline std::string to_string(const DataType &data_type) { std::stringstream str; str << data_type; -- cgit v1.2.1