From 6940dd720ebb6b3d1df8ca203ab696daefe58189 Mon Sep 17 00:00:00 2001 From: Jim Flynn Date: Fri, 20 Mar 2020 12:25:56 +0000 Subject: renamed Documentation folder 20.02 and added .nojekyll file Signed-off-by: Jim Flynn --- 20.02/_layer_test_result_8hpp.xhtml | 158 ++++++++++++++++++++++++++++++++++++ 1 file changed, 158 insertions(+) create mode 100644 20.02/_layer_test_result_8hpp.xhtml (limited to '20.02/_layer_test_result_8hpp.xhtml') diff --git a/20.02/_layer_test_result_8hpp.xhtml b/20.02/_layer_test_result_8hpp.xhtml new file mode 100644 index 0000000000..ae49ff103c --- /dev/null +++ b/20.02/_layer_test_result_8hpp.xhtml @@ -0,0 +1,158 @@ + + + + + + + + + + + + + +ArmNN: src/backends/backendsCommon/test/layerTests/LayerTestResult.hpp File Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  20.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
LayerTestResult.hpp File Reference
+
+
+
#include <armnn/Tensor.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 15 of file LayerTestResult.hpp.

+ +

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

+
16 {
17  BOOST_ASSERT_MSG(n == tensorInfo.GetNumDimensions(),
18  "Attempting to construct a shape array of mismatching size");
19 
20  boost::array<unsigned int, n> shape;
21  for (unsigned int i = 0; i < n; i++)
22  {
23  shape[i] = tensorInfo.GetShape()[i];
24  }
25  return shape;
26 }
const TensorShape & GetShape() const
Definition: Tensor.hpp:88
+
unsigned int GetNumDimensions() const
Definition: Tensor.hpp:92
+
+
+
+
+
+ + + + -- cgit v1.2.1