From a983e4699082a0b1ef685bab7354f2ad9cd37a44 Mon Sep 17 00:00:00 2001 From: Colm Donelan Date: Wed, 20 May 2020 16:12:19 +0100 Subject: Updating Doxygen documentation for 20.05 release. Change-Id: I4d624343ed5fd6ae269c3d53532903084508fd14 Signed-off-by: Colm Donelan --- 20.05/_neon_exp_workload_8cpp_source.xhtml | 132 +++++++++++++++++++++++++++++ 1 file changed, 132 insertions(+) create mode 100644 20.05/_neon_exp_workload_8cpp_source.xhtml (limited to '20.05/_neon_exp_workload_8cpp_source.xhtml') diff --git a/20.05/_neon_exp_workload_8cpp_source.xhtml b/20.05/_neon_exp_workload_8cpp_source.xhtml new file mode 100644 index 0000000000..f071a146d9 --- /dev/null +++ b/20.05/_neon_exp_workload_8cpp_source.xhtml @@ -0,0 +1,132 @@ + + + + + + + + + + + + + +ArmNN: src/backends/neon/workloads/NeonExpWorkload.cpp Source File + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  20.05 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
NeonExpWorkload.cpp
+
+
+Go to the documentation of this file.
1 //
2 // Copyright © 2020 Arm Ltd. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 
6 #include "NeonExpWorkload.hpp"
7 
8 #include "NeonWorkloadUtils.hpp"
9 
13 
14 namespace armnn
15 {
16 
18 {
19  const arm_compute::TensorInfo aclInput = armcomputetensorutils::BuildArmComputeTensorInfo(input);
20  const arm_compute::TensorInfo aclOutput = armcomputetensorutils::BuildArmComputeTensorInfo(output);
21 
22  return arm_compute::NEExpLayer::validate(&aclInput, &aclOutput);
23 }
24 
27 {
28  m_Data.ValidateInputsOutputs("NeonExpWorkload", 1, 1);
29 
30  arm_compute::ITensor& input = PolymorphicDowncast<IAclTensorHandle*>(m_Data.m_Inputs[0])->GetTensor();
31  arm_compute::ITensor& output = PolymorphicDowncast<IAclTensorHandle*>(m_Data.m_Outputs[0])->GetTensor();
32 
33  m_ExpLayer.configure(&input, &output);
34 }
35 
37 {
38  ARMNN_SCOPED_PROFILING_EVENT_NEON("NeonExpWorkload_Execute");
39  m_ExpLayer.run();
40 }
41 
42 } // namespace armnn
+
const ElementwiseUnaryQueueDescriptor m_Data
Definition: Workload.hpp:46
+
#define ARMNN_SCOPED_PROFILING_EVENT_NEON(name)
+ + +
void ValidateInputsOutputs(const std::string &descName, unsigned int numExpectedIn, unsigned int numExpectedOut) const
+
Copyright (c) 2020 ARM Limited.
+ + +
arm_compute::Status NeonExpWorkloadValidate(const TensorInfo &input, const TensorInfo &output)
+
Status
enumeration
Definition: Types.hpp:26
+ +
virtual void Execute() const override
+
std::vector< ITensorHandle * > m_Outputs
+ +
NeonExpWorkload(const ElementwiseUnaryQueueDescriptor &descriptor, const WorkloadInfo &info)
+
Contains information about inputs and outputs to a layer.
+
std::vector< ITensorHandle * > m_Inputs
+ +
+
+ + + + -- cgit v1.2.1