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_fill_workload_8cpp_source.html | 174 +++++++++++++++++++++++++++++ 1 file changed, 174 insertions(+) create mode 100644 23.11/_neon_fill_workload_8cpp_source.html (limited to '23.11/_neon_fill_workload_8cpp_source.html') diff --git a/23.11/_neon_fill_workload_8cpp_source.html b/23.11/_neon_fill_workload_8cpp_source.html new file mode 100644 index 0000000000..3e30026cb6 --- /dev/null +++ b/23.11/_neon_fill_workload_8cpp_source.html @@ -0,0 +1,174 @@ + + + + + + + + +Arm NN: src/backends/neon/workloads/NeonFillWorkload.cpp Source File + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  23.11 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
NeonFillWorkload.cpp
+
+
+Go to the documentation of this file.
1 //
+
2 // Copyright © 2020-2023 Arm Ltd and Contributors. All rights reserved.
+
3 // SPDX-License-Identifier: MIT
+
4 //
+
5 
+
6 #include "NeonFillWorkload.hpp"
+
7 
+ + +
10 #include <arm_compute/core/Types.h>
+
11 #include <arm_compute/runtime/NEON/functions/NEFill.h>
+
12 
+
13 #include "NeonWorkloadUtils.hpp"
+
14 
+
15 namespace armnn
+
16 {
+
17 using namespace armcomputetensorutils;
+
18 
+ + +
21 {
+
22  // Report Profiling Details
+
23  ARMNN_REPORT_PROFILING_WORKLOAD_DESC("NeonFillWorkload_Construct",
+
24  descriptor.m_Parameters,
+
25  info,
+
26  this->GetGuid());
+
27 
+
28  m_Data.ValidateInputsOutputs("NeonFillWorkload", 1, 1);
+
29 
+
30  arm_compute::ITensor& output = static_cast<IAclTensorHandle*>(m_Data.m_Outputs[0])->GetTensor();
+
31  arm_compute::PixelValue pixelValue = GetPixelValue(output.info(), descriptor.m_Parameters.m_Value);
+
32 
+
33  auto layer = std::make_unique<arm_compute::NEFill>();
+
34  layer->configure(&output, pixelValue);
+
35  m_Layer.reset(layer.release());
+
36 }
+
37 
+ +
39 {
+
40  ARMNN_SCOPED_PROFILING_EVENT_NEON_NAME_GUID("NeonFillWorkload_Execute");
+
41  m_Layer->run();
+
42 }
+
43 
+
44 } // namespace armnn
+
+
+
void ValidateInputsOutputs(const std::string &descName, unsigned int numExpectedIn, unsigned int numExpectedOut) const
+ + +
NeonFillWorkload(const FillQueueDescriptor &descriptor, const WorkloadInfo &info)
+ + + +
Contains information about TensorInfos of a layer.
+ +
void Execute() const override
+ +
std::vector< ITensorHandle * > m_Outputs
+
#define ARMNN_REPORT_PROFILING_WORKLOAD_DESC(name, desc, infos, guid)
Definition: Profiling.hpp:227
+ + +
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.
+ + + + + -- cgit v1.2.1