From fd627ffaec8fd8801d980b4c91ee7c0607ab6aaf Mon Sep 17 00:00:00 2001 From: Jan Eilers Date: Thu, 25 Feb 2021 17:44:00 +0000 Subject: IVGCVSW-5687 Update Doxygen Docu * Update Doxygen Documentation for 21.02 release Signed-off-by: Jan Eilers Change-Id: I9ed2f9caab038836ea99d7b378d7899fe431a4e5 --- 21.02/_tensor_utils_8hpp_source.xhtml | 128 ++++++++++++++++++++++++++++++++++ 1 file changed, 128 insertions(+) create mode 100644 21.02/_tensor_utils_8hpp_source.xhtml (limited to '21.02/_tensor_utils_8hpp_source.xhtml') diff --git a/21.02/_tensor_utils_8hpp_source.xhtml b/21.02/_tensor_utils_8hpp_source.xhtml new file mode 100644 index 0000000000..daf43bd29c --- /dev/null +++ b/21.02/_tensor_utils_8hpp_source.xhtml @@ -0,0 +1,128 @@ + + + + + + + + + + + + + +ArmNN: include/armnnUtils/TensorUtils.hpp Source File + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  21.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
TensorUtils.hpp
+
+
+Go to the documentation of this file.
1 //
2 // Copyright © 2019 Arm Ltd. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 
6 #pragma once
7 
8 #include <armnn/TypesUtils.hpp>
9 
10 namespace armnnUtils
11 {
12 armnn::TensorShape GetTensorShape(unsigned int numberOfBatches,
13  unsigned int numberOfChannels,
14  unsigned int height,
15  unsigned int width,
16  const armnn::DataLayout dataLayout);
17 
18 armnn::TensorInfo GetTensorInfo(unsigned int numberOfBatches,
19  unsigned int numberOfChannels,
20  unsigned int height,
21  unsigned int width,
22  const armnn::DataLayout dataLayout,
23  const armnn::DataType dataType);
24 
25 std::pair<float, float> FindMinMax(armnn::ITensorHandle* tensorHandle);
26 
27 armnn::TensorShape ExpandDims(const armnn::TensorShape& tensorShape, int axis);
28 
29 unsigned int GetNumElementsBetween(const armnn::TensorShape& shape,
30  unsigned int firstAxisInclusive,
31  unsigned int lastAxisExclusive);
32 
33 unsigned int GetUnsignedAxis(const unsigned int inputDimension, const int axis);
34 
35 unsigned int GetNumElementsAfter(const armnn::TensorShape& shape, unsigned int axis);
36 
37 std::pair<unsigned int, std::vector<float>> GetPerAxisParams(const armnn::TensorInfo& info);
38 
39 } // namespace armnnUtils
DataLayout
Definition: Types.hpp:50
+ +
unsigned int GetNumElementsBetween(const armnn::TensorShape &shape, unsigned int firstAxisInclusive, unsigned int lastAxisExclusive)
+
std::pair< unsigned int, std::vector< float > > GetPerAxisParams(const armnn::TensorInfo &info)
+ + +
DataType
Definition: Types.hpp:32
+ +
unsigned int GetUnsignedAxis(const unsigned int inputDimension, const int axis)
+
std::pair< float, float > FindMinMax(armnn::ITensorHandle *tensorHandle)
Definition: TensorUtils.cpp:58
+
armnn::TensorShape GetTensorShape(unsigned int numberOfBatches, unsigned int numberOfChannels, unsigned int height, unsigned int width, const armnn::DataLayout dataLayout)
Definition: TensorUtils.cpp:19
+
armnn::TensorShape ExpandDims(const armnn::TensorShape &tensorShape, int axis)
Definition: TensorUtils.cpp:85
+ +
armnn::TensorInfo GetTensorInfo(unsigned int numberOfBatches, unsigned int numberOfChannels, unsigned int height, unsigned int width, const armnn::DataLayout dataLayout, const armnn::DataType dataType)
Definition: TensorUtils.cpp:38
+
unsigned int GetNumElementsAfter(const armnn::TensorShape &shape, unsigned int axis)
+
+
+ + + + -- cgit v1.2.1