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/_addition_layer_8cpp_source.xhtml | 136 ++++++++++++++++++++++++++++++++ 1 file changed, 136 insertions(+) create mode 100644 21.02/_addition_layer_8cpp_source.xhtml (limited to '21.02/_addition_layer_8cpp_source.xhtml') diff --git a/21.02/_addition_layer_8cpp_source.xhtml b/21.02/_addition_layer_8cpp_source.xhtml new file mode 100644 index 0000000000..1b6d32e866 --- /dev/null +++ b/21.02/_addition_layer_8cpp_source.xhtml @@ -0,0 +1,136 @@ + + + + + + + + + + + + + +ArmNN: src/armnn/layers/AdditionLayer.cpp Source File + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  21.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
AdditionLayer.cpp
+
+
+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 
6 #include "AdditionLayer.hpp"
7 
8 #include "LayerCloneBase.hpp"
9 
10 #include <armnn/TypesUtils.hpp>
13 
14 namespace armnn
15 {
16 
19 {
20 }
21 
22 std::unique_ptr<IWorkload> AdditionLayer::CreateWorkload(const IWorkloadFactory& factory) const
23 {
24  AdditionQueueDescriptor descriptor;
25  SetAdditionalInfo(descriptor);
26 
27  return factory.CreateAddition(descriptor, PrepInfoAndDesc(descriptor));
28 }
29 
31 {
32  return CloneBase<AdditionLayer>(graph, GetName());
33 }
34 
36 {
37  visitor.VisitAdditionLayer(this, GetName());
38 }
39 
40 } // namespace armnn
+ + +
virtual void VisitAdditionLayer(const IConnectableLayer *layer, const char *name=nullptr)=0
Function that an addition layer should call back to when its Accept(ILayerVisitor&) function is invok...
+ + +
Copyright (c) 2021 ARM Limited and Contributors.
+ +
WorkloadInfo PrepInfoAndDesc(QueueDescriptor &descriptor) const
Helper function to reduce duplication in *LayerCreateWorkload.
Definition: Layer.hpp:381
+ + +
This layer represents an addition operation.
+
void SetAdditionalInfo(QueueDescriptor &descriptor) const
Definition: Layer.cpp:245
+
AdditionLayer(const char *name)
Constructor to create an AdditionLayer.
+
NOTE: this is an abstract class to encapsulate the element wise operations, it does not implement: st...
+
void Accept(ILayerVisitor &visitor) const override
Apply a visitor to this layer.
+
virtual std::unique_ptr< IWorkload > CreateAddition(const AdditionQueueDescriptor &descriptor, const WorkloadInfo &info) const
+
virtual std::unique_ptr< IWorkload > CreateWorkload(const IWorkloadFactory &factory) const override
Makes a workload for the Addition type.
+ +
const char * GetName() const override
Returns the name of the layer.
Definition: Layer.hpp:311
+
AdditionLayer * Clone(Graph &graph) const override
Creates a dynamically-allocated copy of this layer.
+ +
LayerType
When adding a new layer, adapt also the LastLayer enum value in the enum class LayerType below...
Definition: Types.hpp:419
+
+
+ + + + -- cgit v1.2.1