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/_test_utils_8cpp.xhtml | 196 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 196 insertions(+) create mode 100644 21.02/_test_utils_8cpp.xhtml (limited to '21.02/_test_utils_8cpp.xhtml') diff --git a/21.02/_test_utils_8cpp.xhtml b/21.02/_test_utils_8cpp.xhtml new file mode 100644 index 0000000000..605e009e11 --- /dev/null +++ b/21.02/_test_utils_8cpp.xhtml @@ -0,0 +1,196 @@ + + + + + + + + + + + + + +ArmNN: src/armnn/test/TestUtils.cpp File Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  21.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
TestUtils.cpp File Reference
+
+
+
#include "TestUtils.hpp"
+#include <armnn/utility/Assert.hpp>
+
+

Go to the source code of this file.

+ + + + + +

+Namespaces

 armnn
 Copyright (c) 2021 ARM Limited and Contributors.
 
+ + + + + + + + + +

+Functions

void Connect (armnn::IConnectableLayer *from, armnn::IConnectableLayer *to, const armnn::TensorInfo &tensorInfo, unsigned int fromIndex, unsigned int toIndex)
 
GraphGetGraphForTesting (IOptimizedNetwork *optNet)
 
ModelOptionsGetModelOptionsForTesting (IOptimizedNetwork *optNet)
 
profiling::ProfilingServiceGetProfilingService (armnn::RuntimeImpl *runtime)
 
+

Function Documentation

+ +

◆ Connect()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void Connect (armnn::IConnectableLayerfrom,
armnn::IConnectableLayerto,
const armnn::TensorInfotensorInfo,
unsigned int fromIndex,
unsigned int toIndex 
)
+
+ +

Definition at line 12 of file TestUtils.cpp.

+ +

References ARMNN_ASSERT, IOutputSlot::Connect(), IConnectableLayer::GetInputSlot(), IConnectableLayer::GetOutputSlot(), and IOutputSlot::SetTensorInfo().

+ +

Referenced by BOOST_AUTO_TEST_CASE(), OutputSlot::Connect(), CreatePreluLayerHelper(), CreateStackLayerHelper(), OutputSlot::GetOutputHandler(), ICaffeParser::CaffeParserImpl::ParseArgmaxLayer(), ICaffeParser::CaffeParserImpl::ParseBatchNormLayer(), ICaffeParser::CaffeParserImpl::ParseEltwiseLayer(), ICaffeParser::CaffeParserImpl::ParseInnerProductLayer(), ICaffeParser::CaffeParserImpl::ParseLRNLayer(), ICaffeParser::CaffeParserImpl::ParsePoolingLayer(), ICaffeParser::CaffeParserImpl::ParseReluLayer(), ICaffeParser::CaffeParserImpl::ParseScaleLayer(), ICaffeParser::CaffeParserImpl::ParseSoftmaxLayer(), and QLstmEndToEnd().

+
14 {
15  ARMNN_ASSERT(from);
16  ARMNN_ASSERT(to);
17 
18  from->GetOutputSlot(fromIndex).Connect(to->GetInputSlot(toIndex));
19  from->GetOutputSlot(fromIndex).SetTensorInfo(tensorInfo);
20 }
virtual void SetTensorInfo(const TensorInfo &tensorInfo)=0
+
#define ARMNN_ASSERT(COND)
Definition: Assert.hpp:14
+
virtual const IInputSlot & GetInputSlot(unsigned int index) const =0
Get a const input slot handle by slot index.
+
virtual const IOutputSlot & GetOutputSlot(unsigned int index) const =0
Get the const output slot handle by slot index.
+
virtual int Connect(IInputSlot &destination)=0
+
+
+
+
+
+ + + + -- cgit v1.2.1