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

Go to the source code of this file.

+ + + + +

+Functions

void Connect (armnn::IConnectableLayer *from, armnn::IConnectableLayer *to, const armnn::TensorInfo &tensorInfo, unsigned int fromIndex, unsigned int toIndex)
 
+

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 IOutputSlot::Connect(), IConnectableLayer::GetInputSlot(), IConnectableLayer::GetOutputSlot(), and IOutputSlot::SetTensorInfo().

+ +

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

+
14 {
15  BOOST_ASSERT(from);
16  BOOST_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
+
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