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_source.xhtml | 133 ++++++++++++++++++++++++++++++++++++ 1 file changed, 133 insertions(+) create mode 100644 21.02/_test_utils_8cpp_source.xhtml (limited to '21.02/_test_utils_8cpp_source.xhtml') diff --git a/21.02/_test_utils_8cpp_source.xhtml b/21.02/_test_utils_8cpp_source.xhtml new file mode 100644 index 0000000000..c7900385f0 --- /dev/null +++ b/21.02/_test_utils_8cpp_source.xhtml @@ -0,0 +1,133 @@ + + + + + + + + + + + + + +ArmNN: src/armnn/test/TestUtils.cpp Source File + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  21.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 
9 
10 using namespace armnn;
11 
13  unsigned int fromIndex, unsigned int toIndex)
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 }
21 
22 namespace armnn
23 {
24 
26 {
27  return optNet->pOptimizedNetworkImpl->GetGraph();
28 }
29 
31 {
32  return optNet->pOptimizedNetworkImpl->GetModelOptions();
33 }
34 
36 {
37  return runtime->m_ProfilingService;
38 }
39 
40 }
profiling::ProfilingService & GetProfilingService(armnn::RuntimeImpl *runtime)
Definition: TestUtils.cpp:35
+
Interface for a layer that is connectable to other layers via InputSlots and OutputSlots.
Definition: INetwork.hpp:62
+ +
std::vector< BackendOptions > ModelOptions
+ +
Copyright (c) 2021 ARM Limited and Contributors.
+
virtual void SetTensorInfo(const TensorInfo &tensorInfo)=0
+ +
std::unique_ptr< OptimizedNetworkImpl > pOptimizedNetworkImpl
Definition: INetwork.hpp:725
+
#define ARMNN_ASSERT(COND)
Definition: Assert.hpp:14
+ + +
Graph & GetGraphForTesting(IOptimizedNetwork *optNet)
Definition: TestUtils.cpp:25
+ + +
virtual const IInputSlot & GetInputSlot(unsigned int index) const =0
Get a const input slot handle by slot index.
+
ModelOptions & GetModelOptionsForTesting(IOptimizedNetwork *optNet)
Definition: TestUtils.cpp:30
+
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