diff options
author | Moritz Pflanzer <moritz.pflanzer@arm.com> | 2017-07-19 10:18:42 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-09-17 14:16:42 +0100 |
commit | 6db73ce5222d4b27b06c4e4aa9e466ceb9a09ba2 (patch) | |
tree | d8649ef21112bd68936904a2008ada1360472320 /tests/TypePrinter.h | |
parent | afde732eb016f18c781923cf1e6c9edf68f586f7 (diff) | |
download | ComputeLibrary-6db73ce5222d4b27b06c4e4aa9e466ceb9a09ba2.tar.gz |
COMPMID-415: Move NormalizationLayer to new validation
Change-Id: Icf5781c920836fe87d2db27ca3f9cc4eb2bea554
Reviewed-on: http://mpd-gerrit.cambridge.arm.com/80999
Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com>
Diffstat (limited to 'tests/TypePrinter.h')
-rw-r--r-- | tests/TypePrinter.h | 13 |
1 files changed, 10 insertions, 3 deletions
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; |