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_source.xhtml | 122 ++++++++++++++++++++++++++++++++++++ 1 file changed, 122 insertions(+) create mode 100644 20.02/_test_utils_8cpp_source.xhtml (limited to '20.02/_test_utils_8cpp_source.xhtml') diff --git a/20.02/_test_utils_8cpp_source.xhtml b/20.02/_test_utils_8cpp_source.xhtml new file mode 100644 index 0000000000..7b4fdb849f --- /dev/null +++ b/20.02/_test_utils_8cpp_source.xhtml @@ -0,0 +1,122 @@ + + + + + + + + + + + + + +ArmNN: src/armnn/test/TestUtils.cpp Source File + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  20.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
TestUtils.cpp
+
+
+Go to the documentation of this file.
1 //
2 // Copyright © 2017 Arm Ltd. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 
6 #include "TestUtils.hpp"
7 
8 #include <boost/assert.hpp>
9 
10 using namespace armnn;
11 
13  unsigned int fromIndex, unsigned int toIndex)
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 }
Interface for a layer that is connectable to other layers via InputSlots and OutputSlots.
Definition: INetwork.hpp:61
+ + +
Copyright (c) 2020 ARM Limited.
+
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.
+
void Connect(armnn::IConnectableLayer *from, armnn::IConnectableLayer *to, const armnn::TensorInfo &tensorInfo, unsigned int fromIndex, unsigned int toIndex)
Definition: TestUtils.cpp:12
+
virtual int Connect(IInputSlot &destination)=0
+
+
+ + + + -- cgit v1.2.1