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_dequantize_workload_8cpp_source.xhtml | 135 ++++++++++++++++++++++ 1 file changed, 135 insertions(+) create mode 100644 23.02/_neon_dequantize_workload_8cpp_source.xhtml (limited to '23.02/_neon_dequantize_workload_8cpp_source.xhtml') diff --git a/23.02/_neon_dequantize_workload_8cpp_source.xhtml b/23.02/_neon_dequantize_workload_8cpp_source.xhtml new file mode 100644 index 0000000000..4f7801f717 --- /dev/null +++ b/23.02/_neon_dequantize_workload_8cpp_source.xhtml @@ -0,0 +1,135 @@ + + + + + + + + + + + + + +ArmNN: src/backends/neon/workloads/NeonDequantizeWorkload.cpp Source File + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  23.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
NeonDequantizeWorkload.cpp
+
+
+Go to the documentation of this file.
1 //
2 // Copyright © 2017 Arm Ltd and Contributors. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 
7 
8 #include "NeonWorkloadUtils.hpp"
9 
10 #include <arm_compute/runtime/NEON/functions/NEDequantizationLayer.h>
11 
16 
17 namespace armnn
18 {
19 
20 using namespace armcomputetensorutils;
21 
23  const TensorInfo& output)
24 {
25  const arm_compute::TensorInfo aclInput = BuildArmComputeTensorInfo(input);
26  const arm_compute::TensorInfo aclOutput = BuildArmComputeTensorInfo(output);
27 
28  return arm_compute::NEDequantizationLayer::validate(&aclInput, &aclOutput);
29 }
30 
32  : NeonBaseWorkload<DequantizeQueueDescriptor>(descriptor, info)
33 {
34  m_Data.ValidateInputsOutputs("NeonDequantizeWorkload", 1, 1);
35 
36  arm_compute::ITensor& input = PolymorphicDowncast<IAclTensorHandle*>(m_Data.m_Inputs[0])->GetTensor();
37  arm_compute::ITensor& output = PolymorphicDowncast<IAclTensorHandle*>(m_Data.m_Outputs[0])->GetTensor();
38 
39  std::unique_ptr<arm_compute::NEDequantizationLayer> layer(new arm_compute::NEDequantizationLayer());
40  layer->configure(&input, &output);
41  layer->prepare();
42  m_Layer.reset(layer.release());
43 }
44 
46 {
47  ARMNN_SCOPED_PROFILING_EVENT_NEON_GUID("NeonDequantizeWorkload_Execute", this->GetGuid());
48  m_Layer->run();
49 }
50 
51 } //namespace armnn
52 
+ + +
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.
+ + + + +
Status
enumeration
Definition: Types.hpp:42
+ +
arm_compute::Status NeonDequantizeWorkloadValidate(const TensorInfo &input, const TensorInfo &output)
+
NeonDequantizeWorkload(const DequantizeQueueDescriptor &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