diff options
author | Jim Flynn <jim.flynn@arm.com> | 2019-12-12 22:09:51 +0000 |
---|---|---|
committer | Jim Flynn Arm <jim.flynn@arm.com> | 2019-12-18 11:11:18 +0000 |
commit | 082758c14ef0cddfb9cc87716f706d5917ddb62f (patch) | |
tree | 0a067822666191432fa5fabb7533ac042779ae66 /include | |
parent | 377c806225a8d6506ff6e54a64949af039ea79a3 (diff) | |
download | armnn-082758c14ef0cddfb9cc87716f706d5917ddb62f.tar.gz |
IVGCVSW-4268 Print all Descriptors on dot graph
Change-Id: Ibc174f244bc72ff928879b0ea32f4f2c51f3a3b7
Signed-off-by: Jim Flynn <jim.flynn@arm.com>
Signed-off-by: Kevin May <kevin.may@arm.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/armnn/TypesUtils.hpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/include/armnn/TypesUtils.hpp b/include/armnn/TypesUtils.hpp index 32967c6b42..20bc28c8ec 100644 --- a/include/armnn/TypesUtils.hpp +++ b/include/armnn/TypesUtils.hpp @@ -183,6 +183,25 @@ constexpr const char* GetDataLayoutName(DataLayout dataLayout) } } +constexpr const char* GetNormalizationAlgorithmChannelAsCString(NormalizationAlgorithmChannel channel) +{ + switch (channel) + { + case NormalizationAlgorithmChannel::Across: return "Across"; + case NormalizationAlgorithmChannel::Within: return "Within"; + default: return "Unknown"; + } +} + +constexpr const char* GetNormalizationAlgorithmMethodAsCString(NormalizationAlgorithmMethod method) +{ + switch (method) + { + case NormalizationAlgorithmMethod::LocalBrightness: return "LocalBrightness"; + case NormalizationAlgorithmMethod::LocalContrast: return "LocalContrast"; + default: return "Unknown"; + } +} template<typename T> struct IsHalfType |