aboutsummaryrefslogtreecommitdiff
path: root/src/armnnUtils/TensorUtils.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/armnnUtils/TensorUtils.hpp')
-rw-r--r--src/armnnUtils/TensorUtils.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/armnnUtils/TensorUtils.hpp b/src/armnnUtils/TensorUtils.hpp
index 03b1c8a2df..2b1f6a24f3 100644
--- a/src/armnnUtils/TensorUtils.hpp
+++ b/src/armnnUtils/TensorUtils.hpp
@@ -26,4 +26,10 @@ std::pair<float, float> FindMinMax(armnn::ITensorHandle* tensorHandle);
armnn::TensorShape ExpandDims(const armnn::TensorShape& tensorShape, int axis);
+unsigned int GetNumElementsBetween(const armnn::TensorShape& shape,
+ unsigned int firstAxisInclusive,
+ unsigned int lastAxisExclusive);
+
+unsigned int GetUnsignedAxis(const unsigned int inputDimension, const int axis);
+
} // namespace armnnUtils