From 8d2ca734165a068478df7cffa46185680b05cd20 Mon Sep 17 00:00:00 2001 From: Nikhil Raj Date: Fri, 24 Feb 2023 10:28:19 +0000 Subject: Update Doxygen docu for 23.02 Signed-off-by: Nikhil Raj Change-Id: Ie6c19a27d50fefab2796b2b5875374e81f5bf971 --- 23.02/_neon_neg_workload_8cpp_source.xhtml | 133 +++++++++++++++++++++++++++++ 1 file changed, 133 insertions(+) create mode 100644 23.02/_neon_neg_workload_8cpp_source.xhtml (limited to '23.02/_neon_neg_workload_8cpp_source.xhtml') diff --git a/23.02/_neon_neg_workload_8cpp_source.xhtml b/23.02/_neon_neg_workload_8cpp_source.xhtml new file mode 100644 index 0000000000..ef37ff4556 --- /dev/null +++ b/23.02/_neon_neg_workload_8cpp_source.xhtml @@ -0,0 +1,133 @@ + + + + + + + + + + + + + +ArmNN: src/backends/neon/workloads/NeonNegWorkload.cpp Source File + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  23.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
NeonNegWorkload.cpp
+
+
+Go to the documentation of this file.
1 //
2 // Copyright © 2020 Arm Ltd and Contributors. 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_GUID("NeonNegWorkload_Execute", this->GetGuid());
39  m_NegLayer.run();
40 }
41 
42 } // namespace armnn
arm_compute::Status NeonNegWorkloadValidate(const TensorInfo &input, const TensorInfo &output)
+ +
arm::pipe::ProfilingGuid GetGuid() const final
Definition: Workload.hpp:61
+ +
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:42
+ +
NeonNegWorkload(const ElementwiseUnaryQueueDescriptor &descriptor, const WorkloadInfo &info)
+
std::vector< ITensorHandle * > m_Outputs
+ +
Contains information about TensorInfos of a layer.
+
std::vector< ITensorHandle * > m_Inputs
+
#define ARMNN_SCOPED_PROFILING_EVENT_NEON_GUID(name, guid)
+ +
+
+ + + + -- cgit v1.2.1