aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/armnn/TypesUtils.hpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/armnn/TypesUtils.hpp b/include/armnn/TypesUtils.hpp
index 0d50323fb4..3225230a25 100644
--- a/include/armnn/TypesUtils.hpp
+++ b/include/armnn/TypesUtils.hpp
@@ -67,6 +67,16 @@ 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)