diff options
Diffstat (limited to 'utils/TypePrinter.h')
-rw-r--r-- | utils/TypePrinter.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/utils/TypePrinter.h b/utils/TypePrinter.h index 3f638d7e97..4390381a69 100644 --- a/utils/TypePrinter.h +++ b/utils/TypePrinter.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017-2019 ARM Limited. + * Copyright (c) 2017-2020 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -516,7 +516,7 @@ inline ::std::ostream &operator<<(::std::ostream &os, const PoolingType &pool_ty */ inline ::std::ostream &operator<<(::std::ostream &os, const PoolingLayerInfo &info) { - os << info.pool_type(); + os << info.pool_type; return os; } @@ -1620,13 +1620,13 @@ inline std::string to_string(const PoolingType &type) inline std::string to_string(const PoolingLayerInfo &info) { std::stringstream str; - str << "{Type=" << info.pool_type() << "," - << "IsGlobalPooling=" << info.is_global_pooling(); - if(!info.is_global_pooling()) + str << "{Type=" << info.pool_type << "," + << "IsGlobalPooling=" << info.is_global_pooling; + if(!info.is_global_pooling) { str << "," - << "PoolSize=" << info.pool_size().width << "," << info.pool_size().height << "," - << "PadStride=" << info.pad_stride_info(); + << "PoolSize=" << info.pool_size.width << "," << info.pool_size.height << "," + << "PadStride=" << info.pad_stride_info; } str << "}"; return str.str(); |