From 6f92c8e9f8bb38dcf5dccf8deeff5112ecd8e37c Mon Sep 17 00:00:00 2001 From: Nikhil Raj Date: Wed, 22 Nov 2023 11:41:15 +0000 Subject: Update Doxygen for 23.11 Signed-off-by: Nikhil Raj Change-Id: I47cd933f5002cb94a73aa97689d7b3d9c93cb849 --- 23.11/_neon_reverse_v2_workload_8cpp_source.html | 175 +++++++++++++++++++++++ 1 file changed, 175 insertions(+) create mode 100644 23.11/_neon_reverse_v2_workload_8cpp_source.html (limited to '23.11/_neon_reverse_v2_workload_8cpp_source.html') diff --git a/23.11/_neon_reverse_v2_workload_8cpp_source.html b/23.11/_neon_reverse_v2_workload_8cpp_source.html new file mode 100644 index 0000000000..efbef40a24 --- /dev/null +++ b/23.11/_neon_reverse_v2_workload_8cpp_source.html @@ -0,0 +1,175 @@ + + + + + + + + +Arm NN: src/backends/neon/workloads/NeonReverseV2Workload.cpp Source File + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  23.11 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
NeonReverseV2Workload.cpp
+
+
+Go to the documentation of this file.
1 //
+
2 // Copyright © 2023 Arm Ltd and Contributors. All rights reserved.
+
3 // SPDX-License-Identifier: MIT
+
4 //
+
5 
+ +
7 #include "NeonWorkloadUtils.hpp"
+ + + +
11 
+
12 namespace armnn
+
13 {
+ +
15  const TensorInfo& axis,
+
16  const TensorInfo& output)
+
17 {
+
18  const arm_compute::TensorInfo aclInput = BuildArmComputeTensorInfo(input);
+
19  const arm_compute::TensorInfo aclAxis = BuildArmComputeTensorInfo(axis);
+
20  const arm_compute::TensorInfo aclOutput = BuildArmComputeTensorInfo(output);
+
21 
+
22  return arm_compute::NEReverse::validate(&aclInput, &aclOutput, &aclAxis, true);
+
23 }
+
24 
+ +
26  const WorkloadInfo& info)
+ +
28 {
+
29  m_Data.ValidateInputsOutputs("NeonReverseV2Workload", 2, 1);
+
30 
+
31  arm_compute::ITensor& input = PolymorphicDowncast<IAclTensorHandle*>(m_Data.m_Inputs[0])->GetTensor();
+
32  arm_compute::ITensor& axis = PolymorphicDowncast<IAclTensorHandle*>(m_Data.m_Inputs[1])->GetTensor();
+
33  arm_compute::ITensor& output = PolymorphicDowncast<IAclTensorHandle*>(m_Data.m_Outputs[0])->GetTensor();
+
34 
+
35  m_Layer.configure(&input, &output, &axis, true);
+
36 }
+
37 
+ +
39 {
+
40  ARMNN_SCOPED_PROFILING_EVENT_NEON_NAME_GUID("NeonReverseV2Workload_Execute");
+
41  m_Layer.run();
+
42 }
+
43 
+
44 } // namespace armnn
+
+
+
arm_compute::Status NeonReverseV2WorkloadValidate(const TensorInfo &input, const TensorInfo &axis, const TensorInfo &output)
+ + +
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
+ + +
NeonReverseV2Workload(const ReverseV2QueueDescriptor &descriptor, const WorkloadInfo &info)
+
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.
+
std::vector< ITensorHandle * > m_Inputs
+ + + + -- cgit v1.2.1