From 03c7ff3f6188240baaeaeb405a357a0c58195fec Mon Sep 17 00:00:00 2001 From: Nikhil Raj Date: Tue, 22 Aug 2023 12:00:04 +0100 Subject: IVGCVSW-7702 Update Doxygen Docu for 23.08 Signed-off-by: Nikhil Raj Change-Id: I357a9f7e47614589327c1ac5d95b6224ff77103d --- latest/_neon_rsqrt_workload_8cpp_source.html | 174 +++++++++++++++++++++++++++ 1 file changed, 174 insertions(+) create mode 100644 latest/_neon_rsqrt_workload_8cpp_source.html (limited to 'latest/_neon_rsqrt_workload_8cpp_source.html') diff --git a/latest/_neon_rsqrt_workload_8cpp_source.html b/latest/_neon_rsqrt_workload_8cpp_source.html new file mode 100644 index 0000000000..e8bd10261a --- /dev/null +++ b/latest/_neon_rsqrt_workload_8cpp_source.html @@ -0,0 +1,174 @@ + + + + + + + + +Arm NN: src/backends/neon/workloads/NeonRsqrtWorkload.cpp Source File + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  23.08 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
NeonRsqrtWorkload.cpp
+
+
+Go to the documentation of this file.
1 //
+
2 // Copyright © 2019-2023 Arm Ltd and Contributors. All rights reserved.
+
3 // SPDX-License-Identifier: MIT
+
4 //
+
5 
+
6 #include "NeonRsqrtWorkload.hpp"
+
7 
+
8 #include "NeonWorkloadUtils.hpp"
+
9 
+ + + +
13 
+
14 
+
15 namespace armnn
+
16 {
+
17 
+ +
19 {
+
20  const arm_compute::TensorInfo aclInput = armcomputetensorutils::BuildArmComputeTensorInfo(input);
+
21  const arm_compute::TensorInfo aclOutput = armcomputetensorutils::BuildArmComputeTensorInfo(output);
+
22 
+
23  return arm_compute::NERsqrtLayer::validate(&aclInput, &aclOutput);
+
24 }
+
25 
+ + +
28 {
+
29  m_Data.ValidateInputsOutputs("NeonRsqrtWorkload", 1, 1);
+
30 
+
31  arm_compute::ITensor& input = PolymorphicDowncast<IAclTensorHandle*>(m_Data.m_Inputs[0])->GetTensor();
+
32  arm_compute::ITensor& output = PolymorphicDowncast<IAclTensorHandle*>(m_Data.m_Outputs[0])->GetTensor();
+
33 
+
34  m_RsqrtLayer.configure(&input, &output);
+
35 }
+
36 
+ +
38 {
+
39  ARMNN_SCOPED_PROFILING_EVENT_NEON_NAME_GUID("NeonRsqrtWorkload_Execute");
+
40  m_RsqrtLayer.run();
+
41 }
+
42 
+
43 } // namespace armnn
+
+
+
void ValidateInputsOutputs(const std::string &descName, unsigned int numExpectedIn, unsigned int numExpectedOut) const
+ +
Contains information about TensorInfos of a layer.
+ + + + +
std::vector< ITensorHandle * > m_Outputs
+ +
Status
Definition: Types.hpp:42
+ +
NeonRsqrtWorkload(const RsqrtQueueDescriptor &descriptor, const WorkloadInfo &info)
+
arm_compute::Status NeonRsqrtWorkloadValidate(const TensorInfo &input, const TensorInfo &output)
+ +
Copyright (c) 2021 ARM Limited and Contributors.
+ +
#define ARMNN_SCOPED_PROFILING_EVENT_NEON_NAME_GUID(label)
Creates a profiling event that uses GetGuid() and GetName() from the calling class.
+
virtual void Execute() const override
+ +
std::vector< ITensorHandle * > m_Inputs
+ + + + -- cgit v1.2.1