diff options
author | Moritz Pflanzer <moritz.pflanzer@arm.com> | 2017-07-21 17:36:33 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-09-17 14:16:42 +0100 |
commit | 572ade736ab344a62afa7da214cd9407fe53a281 (patch) | |
tree | adc0b31c0e236b65822dcbc9fb45ce401cc6ead4 /tests/TypePrinter.h | |
parent | 8e6faf1e9f1af7a03441612c30644776e87fd235 (diff) | |
download | ComputeLibrary-572ade736ab344a62afa7da214cd9407fe53a281.tar.gz |
COMPMID-415: Move ActivationLayer to new validation
Change-Id: I38ce20d95640f9c1baf699a095c35e592ad4339f
Reviewed-on: http://mpd-gerrit.cambridge.arm.com/81115
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 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/TypePrinter.h b/tests/TypePrinter.h index 10d33882ce..5f7313552e 100644 --- a/tests/TypePrinter.h +++ b/tests/TypePrinter.h @@ -240,6 +240,13 @@ inline ::std::ostream &operator<<(::std::ostream &os, const ActivationLayerInfo: return os; } +inline std::string to_string(const ActivationLayerInfo::ActivationFunction &function) +{ + std::stringstream str; + str << function; + return str.str(); +} + inline std::string to_string(const ActivationLayerInfo &info) { std::stringstream str; |