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/_observable_8cpp_source.xhtml | 121 ++++++++++++++++++++++++++++++++++++ 1 file changed, 121 insertions(+) create mode 100644 21.02/_observable_8cpp_source.xhtml (limited to '21.02/_observable_8cpp_source.xhtml') diff --git a/21.02/_observable_8cpp_source.xhtml b/21.02/_observable_8cpp_source.xhtml new file mode 100644 index 0000000000..53fdacc845 --- /dev/null +++ b/21.02/_observable_8cpp_source.xhtml @@ -0,0 +1,121 @@ + + + + + + + + + + + + + +ArmNN: src/armnn/Observable.cpp Source File + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  21.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Observable.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 "Observable.hpp"
7 
8 namespace armnn
9 {
10 
12 {
13  m_ObservedObjects.emplace_back(graphLayer);
14 }
15 
17 {
18  auto& relatedLayerNames = graphLayer->GetRelatedLayerNames();
19 
20  // If the erased layer has no related layers we take the erased layer's name
21  // Otherwise we need to preserve the related layer names,
22  // since we want to preserve the original graph's information
23  if (relatedLayerNames.empty())
24  {
25  m_ObservedObjects.emplace_back(graphLayer->GetName());
26  }
27  else
28  {
29  for (auto& relatedLayerName : relatedLayerNames)
30  {
31  m_ObservedObjects.emplace_back(relatedLayerName);
32  }
33  }
34 }
35 
36 }
void Update(Layer *graphLayer) override
Definition: Observable.cpp:11
+
Copyright (c) 2021 ARM Limited and Contributors.
+ +
const std::list< std::string > & GetRelatedLayerNames()
Definition: Layer.hpp:326
+
std::list< Layer * > m_ObservedObjects
Definition: Observable.hpp:43
+
void Update(Layer *graphLayer) override
Definition: Observable.cpp:16
+
const char * GetName() const override
Returns the name of the layer.
Definition: Layer.hpp:311
+ +
+
+ + + + -- cgit v1.2.1