diff options
author | Georgios Pinitas <georgios.pinitas@arm.com> | 2017-11-13 12:58:41 +0000 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:35:24 +0000 |
commit | 4c2dd54d6983275530ef20f9dbb4ce6080c7307b (patch) | |
tree | ddef97fa862d8a08faa42e2c624b029018591d13 /utils/TypePrinter.h | |
parent | fa330439b88af04f96c23b75e36a5a7813b89711 (diff) | |
download | ComputeLibrary-4c2dd54d6983275530ef20f9dbb4ce6080c7307b.tar.gz |
COMPMID-671: Add global pooling layer support.
Change-Id: Iead7497cc03e1e7bde440d2965a7bf54cbfa88bf
Reviewed-on: http://mpd-gerrit.cambridge.arm.com/95579
Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com>
Reviewed-by: Joel Liang <joel.liang@arm.com>
Reviewed-by: Gian Marco Iodice <gianmarco.iodice@arm.com>
Diffstat (limited to 'utils/TypePrinter.h')
-rw-r--r-- | utils/TypePrinter.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/utils/TypePrinter.h b/utils/TypePrinter.h index 2d5c618bce..863fcaf6d9 100644 --- a/utils/TypePrinter.h +++ b/utils/TypePrinter.h @@ -727,7 +727,15 @@ inline std::string to_string(const PoolingType &type) inline std::string to_string(const PoolingLayerInfo &info) { std::stringstream str; - str << info.pool_type(); + str << "{Type=" << info.pool_type() << "," + << "IsGlobalPooling=" << info.is_global_pooling(); + if(!info.is_global_pooling()) + { + str << "," + << "PoolSize=" << info.pool_size() << "," + << "PadStride=" << info.pad_stride_info(); + } + str << "}"; return str.str(); } |