From 6940dd720ebb6b3d1df8ca203ab696daefe58189 Mon Sep 17 00:00:00 2001 From: Jim Flynn Date: Fri, 20 Mar 2020 12:25:56 +0000 Subject: renamed Documentation folder 20.02 and added .nojekyll file Signed-off-by: Jim Flynn --- 20.02/_ref_permute_workload_8cpp_source.xhtml | 128 ++++++++++++++++++++++++++ 1 file changed, 128 insertions(+) create mode 100644 20.02/_ref_permute_workload_8cpp_source.xhtml (limited to '20.02/_ref_permute_workload_8cpp_source.xhtml') diff --git a/20.02/_ref_permute_workload_8cpp_source.xhtml b/20.02/_ref_permute_workload_8cpp_source.xhtml new file mode 100644 index 0000000000..c0cc268be6 --- /dev/null +++ b/20.02/_ref_permute_workload_8cpp_source.xhtml @@ -0,0 +1,128 @@ + + + + + + + + + + + + + +ArmNN: src/backends/reference/workloads/RefPermuteWorkload.cpp Source File + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  20.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
RefPermuteWorkload.cpp
+
+
+Go to the documentation of this file.
1 //
2 // Copyright © 2017 Arm Ltd. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 
6 #include "RefPermuteWorkload.hpp"
7 #include "RefWorkloadUtils.hpp"
8 
9 #include <armnnUtils/Permute.hpp>
10 
11 #include <ResolveType.hpp>
12 
13 namespace armnn
14 {
15 
16 template <armnn::DataType DataType>
18 {
19  using T = ResolveType<DataType>;
20 
21  ARMNN_SCOPED_PROFILING_EVENT(Compute::CpuRef, GetName() + "_Execute");
22 
23  const ITensorHandle* src = m_Data.m_Inputs[0];
24  ITensorHandle* dst = m_Data.m_Outputs[0];
25  const PermutationVector& mappings = m_Data.m_Parameters.m_DimMappings;
26 
27  armnnUtils::Permute(GetTensorInfo(dst).GetShape(), mappings,
28  src->Map(), dst->Map(), sizeof(T));
29 }
30 
36 
37 } //namespace armnn
+
CPU Execution: Reference C++ kernels.
+ +
const TensorInfo & GetTensorInfo(const ITensorHandle *tensorHandle)
float32 helpers
+
typename ResolveTypeImpl< DT >::Type ResolveType
Definition: ResolveType.hpp:73
+ +
Copyright (c) 2020 ARM Limited.
+
#define ARMNN_SCOPED_PROFILING_EVENT(backendId, name)
Definition: Profiling.hpp:169
+ + + +
void Execute() const override
+ +
virtual const void * Map(bool blocking=true) const =0
Map the tensor data for access.
+ +
+
+ + + + -- cgit v1.2.1