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/_layer_test_result_8hpp.xhtml | 160 ++++++++++++++++++++++++++++++++++++ 1 file changed, 160 insertions(+) create mode 100644 21.02/_layer_test_result_8hpp.xhtml (limited to '21.02/_layer_test_result_8hpp.xhtml') diff --git a/21.02/_layer_test_result_8hpp.xhtml b/21.02/_layer_test_result_8hpp.xhtml new file mode 100644 index 0000000000..e94ffabac7 --- /dev/null +++ b/21.02/_layer_test_result_8hpp.xhtml @@ -0,0 +1,160 @@ + + + + + + + + + + + + + +ArmNN: src/backends/backendsCommon/test/layerTests/LayerTestResult.hpp File Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  21.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
LayerTestResult.hpp File Reference
+
+
+
#include <armnn/Tensor.hpp>
+#include <armnn/utility/Assert.hpp>
+#include <boost/multi_array.hpp>
+#include <cstddef>
+
+

Go to the source code of this file.

+ + + + +

+Classes

struct  LayerTestResult< T, n >
 
+ + + + +

+Functions

template<std::size_t n>
boost::array< unsigned int, n > GetTensorShapeAsArray (const armnn::TensorInfo &tensorInfo)
 
+

Function Documentation

+ +

◆ GetTensorShapeAsArray()

+ +
+
+ + + + + + + + +
boost::array<unsigned int, n> GetTensorShapeAsArray (const armnn::TensorInfotensorInfo)
+
+ +

Definition at line 16 of file LayerTestResult.hpp.

+ +

References ARMNN_ASSERT_MSG, TensorInfo::GetNumDimensions(), and TensorInfo::GetShape().

+
17 {
18  ARMNN_ASSERT_MSG(n == tensorInfo.GetNumDimensions(),
19  "Attempting to construct a shape array of mismatching size");
20 
21  boost::array<unsigned int, n> shape;
22  for (unsigned int i = 0; i < n; i++)
23  {
24  shape[i] = tensorInfo.GetShape()[i];
25  }
26  return shape;
27 }
const TensorShape & GetShape() const
Definition: Tensor.hpp:187
+
#define ARMNN_ASSERT_MSG(COND, MSG)
Definition: Assert.hpp:15
+
unsigned int GetNumDimensions() const
Definition: Tensor.hpp:191
+
+
+
+
+
+ + + + -- cgit v1.2.1