diff options
author | John Richardson <john.richardson@arm.com> | 2017-09-26 16:55:59 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:35:24 +0000 |
commit | a36eae18c76cd90ad6918f58266d6b3a87f000a5 (patch) | |
tree | c3e50f6fef7792aec166dab79b67b9e564172867 /utils/TypePrinter.h | |
parent | 70f946b02c09632c5b4550939d62840e20a9caa1 (diff) | |
download | ComputeLibrary-a36eae18c76cd90ad6918f58266d6b3a87f000a5.tar.gz |
COMPMID-490: Move TensorInfo and TensorShape to new validation
Change-Id: I8dfe0ed9b1fbe3c09831bf028f4665bdd508d906
Reviewed-on: http://mpd-gerrit.cambridge.arm.com/89870
Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com>
Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'utils/TypePrinter.h')
-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) { |