aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTeresa Charlin <teresa.charlinreyes@arm.com>2020-01-23 11:44:24 +0000
committerTeresaARM <teresa.charlinreyes@arm.com>2020-01-23 12:04:19 +0000
commit190a39a4a9598e42b636ae4ab843761884148160 (patch)
tree84f9271361f93b15c7fbecc5ba3674f5e67a0cd8 /include
parent5277ad5a23212f29aa50faa83521419722d2d949 (diff)
downloadarmnn-190a39a4a9598e42b636ae4ab843761884148160.tar.gz
IVGCVSW-4268 Print all Descriptors on dot graph
Change-Id: I82a7dcffc3771efa8350e2e1e22cfb20969551f9 Signed-off-by: Jim Flynn <jim.flynn@arm.com> Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
Diffstat (limited to 'include')
-rw-r--r--include/armnn/TypesUtils.hpp40
1 files changed, 29 insertions, 11 deletions
diff --git a/include/armnn/TypesUtils.hpp b/include/armnn/TypesUtils.hpp
index 065b6839fc..8157d4f043 100644
--- a/include/armnn/TypesUtils.hpp
+++ b/include/armnn/TypesUtils.hpp
@@ -77,16 +77,6 @@ constexpr char const* GetPoolingAlgorithmAsCString(PoolingAlgorithm pooling)
}
}
-constexpr char const* GetResizeMethodAsCString(ResizeMethod resizeMethod)
-{
- switch (resizeMethod)
- {
- case ResizeMethod::Bilinear: return "Bilinear";
- case ResizeMethod::NearestNeighbor: return "NearestNeighbor";
- default: return "Unknown";
- }
-}
-
constexpr char const* GetOutputShapeRoundingAsCString(OutputShapeRounding rounding)
{
switch (rounding)
@@ -97,7 +87,6 @@ constexpr char const* GetOutputShapeRoundingAsCString(OutputShapeRounding roundi
}
}
-
constexpr char const* GetPaddingMethodAsCString(PaddingMethod method)
{
switch (method)
@@ -185,6 +174,35 @@ 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";
+ }
+}
+
+constexpr const char* GetResizeMethodAsCString(ResizeMethod method)
+{
+ switch (method)
+ {
+ case ResizeMethod::Bilinear: return "Bilinear";
+ case ResizeMethod::NearestNeighbor: return "NearestNeighbour";
+ default: return "Unknown";
+ }
+}
template<typename T>
struct IsHalfType