From 8efb48a6847c5cd166c561127ae6611150963ce3 Mon Sep 17 00:00:00 2001 From: Nikhil Raj Date: Fri, 19 May 2023 11:14:28 +0100 Subject: Update Doxygen docu for 23.05 Signed-off-by: Nikhil Raj Change-Id: I0a992286f14fa68fcc6e5eba31ac39fed003cbbe --- .../_ref_depth_to_space_workload_8cpp_source.xhtml | 176 +++++++++++++++++++++ 1 file changed, 176 insertions(+) create mode 100644 23.05/_ref_depth_to_space_workload_8cpp_source.xhtml (limited to '23.05/_ref_depth_to_space_workload_8cpp_source.xhtml') diff --git a/23.05/_ref_depth_to_space_workload_8cpp_source.xhtml b/23.05/_ref_depth_to_space_workload_8cpp_source.xhtml new file mode 100644 index 0000000000..cac0998c8a --- /dev/null +++ b/23.05/_ref_depth_to_space_workload_8cpp_source.xhtml @@ -0,0 +1,176 @@ + + + + + + + + + + + + + +ArmNN: src/backends/reference/workloads/RefDepthToSpaceWorkload.cpp Source File + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  23.05 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
RefDepthToSpaceWorkload.cpp
+
+
+Go to the documentation of this file.
1 //
+
2 // Copyright © 2022 Arm Ltd and Contributors. All rights reserved.
+
3 // SPDX-License-Identifier: MIT
+
4 //
+
5 
+ +
7 
+
8 #include "DepthToSpace.hpp"
+
9 #include "RefWorkloadUtils.hpp"
+
10 
+
11 namespace armnn
+
12 {
+
13 
+ +
15 {
+ +
17 }
+
18 
+ +
20 {
+
21  WorkingMemDescriptor* workingMemDescriptor = static_cast<WorkingMemDescriptor*>(executionData.m_Data);
+
22  Execute(workingMemDescriptor->m_Inputs, workingMemDescriptor->m_Outputs);
+
23 }
+
24 
+
25 void RefDepthToSpaceWorkload::Execute(std::vector<ITensorHandle*> inputs, std::vector<ITensorHandle*> outputs) const
+
26 {
+
27  ARMNN_SCOPED_PROFILING_EVENT(Compute::CpuRef, "RefDepthToSpaceWorkload_Execute");
+
28 
+
29  const TensorInfo inputInfo = GetTensorInfo(inputs[0]);
+
30 
+
31  DepthToSpace(inputInfo,
+ +
33  inputs[0]->Map(),
+
34  outputs[0]->Map(),
+
35  GetDataTypeSize(inputInfo.GetDataType()));
+
36 }
+
37 
+
38 } // namespace armnn
+
+
+
const TensorInfo & GetTensorInfo(const ITensorHandle *tensorHandle)
float32 helpers
+ +
void DepthToSpace(const TensorInfo &inputInfo, const DepthToSpaceDescriptor &descriptor, const void *inputData, void *outputData, unsigned int dataTypeSize)
+ + + + + +
void ExecuteAsync(ExecutionData &executionData) override
+
constexpr unsigned int GetDataTypeSize(DataType dataType)
Definition: TypesUtils.hpp:169
+
Copyright (c) 2021 ARM Limited and Contributors.
+ + +
#define ARMNN_SCOPED_PROFILING_EVENT(backendId, name)
Definition: Profiling.hpp:220
+ + + + +
std::vector< ITensorHandle * > m_Outputs
+
@ CpuRef
CPU Execution: Reference C++ kernels.
+
DataType GetDataType() const
Definition: Tensor.hpp:198
+
std::vector< ITensorHandle * > m_Inputs
+ + + + -- cgit v1.2.1