From 8efb48a6847c5cd166c561127ae6611150963ce3 Mon Sep 17 00:00:00 2001 From: Nikhil Raj Date: Fri, 19 May 2023 11:14:28 +0100 Subject: Update Doxygen docu for 23.05 Signed-off-by: Nikhil Raj Change-Id: I0a992286f14fa68fcc6e5eba31ac39fed003cbbe --- 23.05/_division_layer_8cpp_source.xhtml | 180 ++++++++++++++++++++++++++++++++ 1 file changed, 180 insertions(+) create mode 100644 23.05/_division_layer_8cpp_source.xhtml (limited to '23.05/_division_layer_8cpp_source.xhtml') diff --git a/23.05/_division_layer_8cpp_source.xhtml b/23.05/_division_layer_8cpp_source.xhtml new file mode 100644 index 0000000000..1ec5a0641d --- /dev/null +++ b/23.05/_division_layer_8cpp_source.xhtml @@ -0,0 +1,180 @@ + + + + + + + + + + + + + +ArmNN: src/armnn/layers/DivisionLayer.cpp Source File + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  23.05 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
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.CreateWorkload(LayerType::Division, descriptor, PrepInfoAndDesc(descriptor));
+
28 }
+
29 
+ +
31 {
+
32  return CloneBase<DivisionLayer>(graph, GetName());
+
33 }
+
34 
+ +
36 {
+
37  strategy.ExecuteStrategy(this, GetParameters(), {}, GetName());
+
38 }
+
39 
+
40 } // namespace armnn
+
+
+ +
void ExecuteStrategy(IStrategy &strategy) const override
Apply a visitor to this layer.
+
virtual std::unique_ptr< IWorkload > CreateWorkload(const IWorkloadFactory &factory) const override
Makes a workload for the Division type.
+ + + +
void SetAdditionalInfo(QueueDescriptor &descriptor) const
Definition: Layer.cpp:274
+ +
Copyright (c) 2021 ARM Limited and Contributors.
+ +
DivisionLayer(const char *name)
Constructor to create a DivisionLayer.
+
LayerType
When adding a new layer, adapt also the LastLayer enum value in the enum class LayerType below.
Definition: Types.hpp:479
+
WorkloadInfo PrepInfoAndDesc(QueueDescriptor &descriptor) const
Helper function to reduce duplication in *Layer::CreateWorkload.
Definition: Layer.hpp:396
+
virtual const BaseDescriptor & GetParameters() const override
If the layer has a descriptor return it.
Definition: Layer.hpp:365
+ +
virtual void ExecuteStrategy(const IConnectableLayer *layer, const armnn::BaseDescriptor &descriptor, const std::vector< armnn::ConstTensor > &constants, const char *name, const armnn::LayerBindingId id=0)=0
+ +
DivisionLayer * Clone(Graph &graph) const override
Creates a dynamically-allocated copy of this layer.
+
virtual std::unique_ptr< IWorkload > CreateWorkload(LayerType type, const QueueDescriptor &descriptor, const WorkloadInfo &info) const
+
const char * GetName() const override
Returns the name of the layer.
Definition: Layer.hpp:319
+ +
This layer represents a division operation.
+ +
NOTE: this is an abstract class to encapsulate the element wise operations, it does not implement: st...
+ + + + -- cgit v1.2.1