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 --- ..._1_1_layer_in_graph_3_01_input_layer_01_4.xhtml | 263 +++++++++++++++++++++ 1 file changed, 263 insertions(+) create mode 100644 21.02/classarmnn_1_1_graph_1_1_layer_in_graph_3_01_input_layer_01_4.xhtml (limited to '21.02/classarmnn_1_1_graph_1_1_layer_in_graph_3_01_input_layer_01_4.xhtml') diff --git a/21.02/classarmnn_1_1_graph_1_1_layer_in_graph_3_01_input_layer_01_4.xhtml b/21.02/classarmnn_1_1_graph_1_1_layer_in_graph_3_01_input_layer_01_4.xhtml new file mode 100644 index 0000000000..58cfcd88f5 --- /dev/null +++ b/21.02/classarmnn_1_1_graph_1_1_layer_in_graph_3_01_input_layer_01_4.xhtml @@ -0,0 +1,263 @@ + + + + + + + + + + + + + +ArmNN: Graph::LayerInGraph< InputLayer > Class Template Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  21.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Graph::LayerInGraph< InputLayer > Class Template Referencefinal
+
+
+ +

Inputs add/remove their binding id to m_InputIds in the graph. + More...

+ +

#include <Graph.hpp>

+ +

Inherits Graph::LayerInGraphBase< LayerT >.

+ + + + + + + + + + +

+Public Member Functions

template<typename... Args>
 LayerInGraph (Graph &graph, Args &&... args)
 
template<typename... Args>
 LayerInGraph (Graph &graph, Iterator, Args &&... args)
 
 ~LayerInGraph () override
 
+

Detailed Description

+

template<>
+class armnn::Graph::LayerInGraph< InputLayer >

+ +

Inputs add/remove their binding id to m_InputIds in the graph.

+ +

Definition at line 338 of file Graph.hpp.

+

Constructor & Destructor Documentation

+ +

◆ LayerInGraph() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
LayerInGraph (Graphgraph,
Args &&... args 
)
+
+inline
+
+ +

Definition at line 342 of file Graph.hpp.

+ +

References Graph::InputLayersAccessor::m_Graph.

+
343  : LayerInGraphBase<InputLayer>(graph,
344  // Always add to the back of the inputs.
345  std::next(graph.begin(), IteratorDifference(graph.GetNumInputs())),
346  std::forward<Args>(args)...)
347  {
348  const bool isNewId = m_Graph->m_InputIds.emplace(GetBindingId()).second;
349  if (!isNewId)
350  {
351  throw InvalidArgumentException("A layer already exists with the specified id");
352  }
353  }
Iterator::difference_type IteratorDifference
Definition: Graph.hpp:51
+
+
+
+ +

◆ LayerInGraph() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
LayerInGraph (Graphgraph,
Iterator ,
Args &&... args 
)
+
+inline
+
+ +

Definition at line 355 of file Graph.hpp.

+
357  : LayerInGraph(graph, std::forward<Args>(args)...)
358  {
359  }
LayerInGraph(Graph &graph, Args &&... args)
Definition: Graph.hpp:342
+
+
+
+ +

◆ ~LayerInGraph()

+ +
+
+ + + + + +
+ + + + + + + +
~LayerInGraph ()
+
+inlineoverride
+
+ +

Definition at line 360 of file Graph.hpp.

+ +

References ARMNN_ASSERT, armnn::IgnoreUnused(), and Graph::InputLayersAccessor::m_Graph.

+
361  {
362  const size_t numErased = m_Graph->m_InputIds.erase(GetBindingId());
363  IgnoreUnused(numErased);
364  ARMNN_ASSERT(numErased == 1);
365  }
void IgnoreUnused(Ts &&...)
+
#define ARMNN_ASSERT(COND)
Definition: Assert.hpp:14
+
+
+
+
The documentation for this class was generated from the following file: +
+
+ + + + -- cgit v1.2.1