From f86be93b7492b381370cae7bf71eca8572a0cbae Mon Sep 17 00:00:00 2001 From: Matthew Sloyan Date: Tue, 24 Aug 2021 16:27:15 +0100 Subject: IVGCVSW-5924 Update 21.08 Doxygen Documents * Also updated latest symlink. Signed-off-by: Matthew Sloyan Change-Id: If9b4e0e52464abdf797b9eb858ae19bcc64c2aea --- 21.08/_division_layer_8cpp_source.xhtml | 136 ++++++++++++++++++++++++++++++++ 1 file changed, 136 insertions(+) create mode 100644 21.08/_division_layer_8cpp_source.xhtml (limited to '21.08/_division_layer_8cpp_source.xhtml') diff --git a/21.08/_division_layer_8cpp_source.xhtml b/21.08/_division_layer_8cpp_source.xhtml new file mode 100644 index 0000000000..76fff97c39 --- /dev/null +++ b/21.08/_division_layer_8cpp_source.xhtml @@ -0,0 +1,136 @@ + + + + + + + + + + + + + +ArmNN: src/armnn/layers/DivisionLayer.cpp Source File + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  21.08 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
DivisionLayer.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 "DivisionLayer.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> DivisionLayer::CreateWorkload(const IWorkloadFactory& factory) const
23 {
24  DivisionQueueDescriptor descriptor;
25  SetAdditionalInfo(descriptor);
26 
27  return factory.CreateDivision(descriptor, PrepInfoAndDesc(descriptor));
28 }
29 
31 {
32  return CloneBase<DivisionLayer>(graph, GetName());
33 }
34 
36 {
37  visitor.VisitDivisionLayer(this, GetName());
38 }
39 
40 } // namespace armnn
+ + +
DivisionLayer(const char *name)
Constructor to create a DivisionLayer.
+
virtual std::unique_ptr< IWorkload > CreateWorkload(const IWorkloadFactory &factory) const override
Makes a workload for the Division type.
+
Copyright (c) 2021 ARM Limited and Contributors.
+ +
virtual std::unique_ptr< IWorkload > CreateDivision(const DivisionQueueDescriptor &descriptor, const WorkloadInfo &info) const
+ + +
WorkloadInfo PrepInfoAndDesc(QueueDescriptor &descriptor) const
Helper function to reduce duplication in *LayerCreateWorkload.
Definition: Layer.hpp:381
+
void Accept(ILayerVisitor &visitor) const override
Apply a visitor to this layer.
+ +
void SetAdditionalInfo(QueueDescriptor &descriptor) const
Definition: Layer.cpp:245
+
NOTE: this is an abstract class to encapsulate the element wise operations, it does not implement: st...
+
This layer represents a division operation.
+ +
const char * GetName() const override
Returns the name of the layer.
Definition: Layer.hpp:311
+
virtual void VisitDivisionLayer(const IConnectableLayer *layer, const char *name=nullptr)=0
Function a division layer should call back to when its Accept(ILayerVisitor&) function is invoked...
+
DivisionLayer * 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:405
+
+
+ + + + -- cgit v1.2.1