From 6940dd720ebb6b3d1df8ca203ab696daefe58189 Mon Sep 17 00:00:00 2001 From: Jim Flynn Date: Fri, 20 Mar 2020 12:25:56 +0000 Subject: renamed Documentation folder 20.02 and added .nojekyll file Signed-off-by: Jim Flynn --- 20.02/_ref_elementwise_workload_8hpp_source.xhtml | 145 ++++++++++++++++++++++ 1 file changed, 145 insertions(+) create mode 100644 20.02/_ref_elementwise_workload_8hpp_source.xhtml (limited to '20.02/_ref_elementwise_workload_8hpp_source.xhtml') diff --git a/20.02/_ref_elementwise_workload_8hpp_source.xhtml b/20.02/_ref_elementwise_workload_8hpp_source.xhtml new file mode 100644 index 0000000000..bb650c6a5d --- /dev/null +++ b/20.02/_ref_elementwise_workload_8hpp_source.xhtml @@ -0,0 +1,145 @@ + + + + + + + + + + + + + +ArmNN: src/backends/reference/workloads/RefElementwiseWorkload.hpp Source File + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  20.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
RefElementwiseWorkload.hpp
+
+
+Go to the documentation of this file.
1 //
2 // Copyright © 2017 Arm Ltd. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 
6 #pragma once
7 
8 #include <armnn/Types.hpp>
11 #include "BaseIterator.hpp"
12 #include "ElementwiseFunction.hpp"
13 #include "Maximum.hpp"
14 #include "Minimum.hpp"
15 #include "StringMapping.hpp"
16 
17 namespace armnn
18 {
19 
20 template <typename Functor, typename ParentDescriptor, typename armnn::StringMapping::Id DebugString>
21 class RefElementwiseWorkload : public BaseWorkload<ParentDescriptor>
22 {
23 public:
27 
28  RefElementwiseWorkload(const ParentDescriptor& descriptor, const WorkloadInfo& info);
29  void PostAllocationConfigure() override;
30  void Execute() const override;
31 
32 private:
33  std::unique_ptr<Decoder<InType>> m_Input0;
34  std::unique_ptr<Decoder<InType>> m_Input1;
35  std::unique_ptr<Encoder<OutType>> m_Output;
36 };
37 
38 using RefAdditionWorkload =
42 
47 
52 
53 using RefDivisionWorkload =
57 
58 using RefMaximumWorkload =
62 
63 using RefMinimumWorkload =
67 
68 } // armnn
+ + +
typename Functor::first_argument_type InType
+ + + + +
typename ElementwiseBinaryFunction< Functor >::InType InType
+ + +
Copyright (c) 2020 ARM Limited.
+ + + + + + + + + +
RefElementwiseWorkload(const ParentDescriptor &descriptor, const WorkloadInfo &info)
+ +
typename Functor::result_type OutType
+ + +
typename ElementwiseBinaryFunction< Functor >::OutType OutType
+ + + +
Contains information about inputs and outputs to a layer.
+ +
+
+ + + + -- cgit v1.2.1