From 3f217ec4ff11e20fe686beb9a28d0bbd80a56cd6 Mon Sep 17 00:00:00 2001 From: Isabella Gottardi Date: Mon, 12 Feb 2018 14:59:19 +0000 Subject: COMPMID-908 - Merge Activation layer with Convolution Layer (NEON. CL, GLES) Change-Id: Iab06d0768ecf805b841e601185608aae88cf9166 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/120874 Tested-by: Jenkins Reviewed-by: Anthony Barbier --- utils/TypePrinter.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'utils') diff --git a/utils/TypePrinter.h b/utils/TypePrinter.h index 811fb7b1e8..9ac4b343b3 100644 --- a/utils/TypePrinter.h +++ b/utils/TypePrinter.h @@ -341,7 +341,10 @@ inline ::std::ostream &operator<<(::std::ostream &os, const ActivationLayerInfo: inline std::string to_string(const arm_compute::ActivationLayerInfo &info) { std::stringstream str; - str << info.activation(); + if(info.enabled()) + { + str << info.activation(); + } return str.str(); } -- cgit v1.2.1