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/_neon_neg_workload_8cpp_source.xhtml | 132 +++++++++++++++++++++++++++++ 1 file changed, 132 insertions(+) create mode 100644 21.02/_neon_neg_workload_8cpp_source.xhtml (limited to '21.02/_neon_neg_workload_8cpp_source.xhtml') diff --git a/21.02/_neon_neg_workload_8cpp_source.xhtml b/21.02/_neon_neg_workload_8cpp_source.xhtml new file mode 100644 index 0000000000..e5c36f1249 --- /dev/null +++ b/21.02/_neon_neg_workload_8cpp_source.xhtml @@ -0,0 +1,132 @@ + + + + + + + + + + + + + +ArmNN: src/backends/neon/workloads/NeonNegWorkload.cpp Source File + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  21.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
NeonNegWorkload.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 "NeonNegWorkload.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::NENegLayer::validate(&aclInput, &aclOutput);
23 }
24 
27 {
28  m_Data.ValidateInputsOutputs("NeonNegWorkload", 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_NegLayer.configure(&input, &output);
34 }
35 
37 {
38  ARMNN_SCOPED_PROFILING_EVENT_NEON("NeonNegWorkload_Execute");
39  m_NegLayer.run();
40 }
41 
42 } // namespace armnn
arm_compute::Status NeonNegWorkloadValidate(const TensorInfo &input, const TensorInfo &output)
+ +
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) 2021 ARM Limited and Contributors.
+
virtual void Execute() const override
+ + + +
Status
enumeration
Definition: Types.hpp:26
+ +
NeonNegWorkload(const ElementwiseUnaryQueueDescriptor &descriptor, const WorkloadInfo &info)
+
std::vector< ITensorHandle * > m_Outputs
+ +
Contains information about inputs and outputs to a layer.
+
std::vector< ITensorHandle * > m_Inputs
+ +
+
+ + + + -- cgit v1.2.1