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/_layer_clone_base_8hpp_source.xhtml | 124 ++++++++++++++++++++++++++++++ 1 file changed, 124 insertions(+) create mode 100644 21.02/_layer_clone_base_8hpp_source.xhtml (limited to '21.02/_layer_clone_base_8hpp_source.xhtml') diff --git a/21.02/_layer_clone_base_8hpp_source.xhtml b/21.02/_layer_clone_base_8hpp_source.xhtml new file mode 100644 index 0000000000..085e7bad06 --- /dev/null +++ b/21.02/_layer_clone_base_8hpp_source.xhtml @@ -0,0 +1,124 @@ + + + + + + + + + + + + + +ArmNN: src/armnn/layers/LayerCloneBase.hpp Source File + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  21.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
LayerCloneBase.hpp
+
+
+Go to the documentation of this file.
1 //
2 // Copyright © 2017 Arm Ltd and Contributors. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 #pragma once
6 
7 #include <Layer.hpp>
8 #include <Graph.hpp>
9 
10 namespace armnn
11 {
12 
13 template <typename LayerType, typename ... Params>
14 LayerType* Layer::CloneBase(Graph& graph, Params&& ... params) const
15 {
16  LayerType* const layer = graph.AddLayer<LayerType>(std::forward<Params>(params)...);
17 
18  layer->BackendSelectionHint(GetBackendHint());
19  layer->SetBackendId(GetBackendId());
20  layer->SetGuid(GetGuid());
21  layer->SetShapeInferenceMethod(m_ShapeInferenceMethod);
22 
23  return layer;
24 }
25 
26 } // namespace
Optional< BackendId > GetBackendHint() const
Definition: Layer.hpp:334
+
LayerT * AddLayer(Args &&... args)
Adds a new layer, of type LayerType, to the graph constructed with the arguments passed.
Definition: Graph.hpp:402
+
Copyright (c) 2021 ARM Limited and Contributors.
+
LayerType * CloneBase(Graph &graph, Params &&... params) const
+ +
const BackendId & GetBackendId() const
Definition: Layer.hpp:269
+ + +
ShapeInferenceMethod m_ShapeInferenceMethod
Definition: Layer.hpp:408
+
LayerType
When adding a new layer, adapt also the LastLayer enum value in the enum class LayerType below...
Definition: Types.hpp:419
+
LayerGuid GetGuid() const final
Returns the unique id of the layer.
Definition: Layer.hpp:322
+
+
+ + + + -- cgit v1.2.1