diff options
Diffstat (limited to 'utils')
-rw-r--r-- | utils/TypePrinter.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/utils/TypePrinter.h b/utils/TypePrinter.h index 4f424d9438..b072d1a308 100644 --- a/utils/TypePrinter.h +++ b/utils/TypePrinter.h @@ -26,6 +26,7 @@ #include "arm_compute/core/Dimensions.h" #include "arm_compute/core/Error.h" +#include "arm_compute/core/Strides.h" #include "arm_compute/core/Types.h" #include "tests/Types.h" @@ -554,6 +555,13 @@ inline std::string to_string(const Dimensions<T> &dimensions) return str.str(); } +inline std::string to_string(const Strides &stride) +{ + std::stringstream str; + str << stride; + return str.str(); +} + /** Formatted output of the TensorShape type. */ inline std::string to_string(const TensorShape &shape) { |