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_debug_workload_8hpp_source.xhtml | 128 ++++++++++++++++++++++++++++ 1 file changed, 128 insertions(+) create mode 100644 20.02/_ref_debug_workload_8hpp_source.xhtml (limited to '20.02/_ref_debug_workload_8hpp_source.xhtml') diff --git a/20.02/_ref_debug_workload_8hpp_source.xhtml b/20.02/_ref_debug_workload_8hpp_source.xhtml new file mode 100644 index 0000000000..2a8e401cbe --- /dev/null +++ b/20.02/_ref_debug_workload_8hpp_source.xhtml @@ -0,0 +1,128 @@ + + + + + + + + + + + + + +ArmNN: src/backends/reference/workloads/RefDebugWorkload.hpp Source File + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  20.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
RefDebugWorkload.hpp
+
+
+Go to the documentation of this file.
1 //
2 // Copyright © 2017 Arm Ltd. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 
6 #pragma once
7 
8 #include <armnn/TypesUtils.hpp>
9 
11 
12 namespace armnn
13 {
14 
15 template <armnn::DataType DataType>
16 class RefDebugWorkload : public TypedWorkload<DebugQueueDescriptor, DataType>
17 {
18 public:
20  : TypedWorkload<DebugQueueDescriptor, DataType>(descriptor, info)
21  , m_Callback(nullptr) {}
22 
23  static const std::string& GetName()
24  {
25  static const std::string name = std::string("RefDebug") + GetDataTypeName(DataType) + "Workload";
26  return name;
27  }
28 
31 
32  void Execute() const override;
33 
34  void RegisterDebugCallback(const DebugCallbackFunction& func) override;
35 
36 private:
37  DebugCallbackFunction m_Callback;
38 };
39 
48 
49 } // namespace armnn
void Execute() const override
+
static const std::string & GetName()
+
Copyright (c) 2020 ARM Limited.
+
std::function< void(LayerGuid guid, unsigned int slotIndex, ITensorHandle *tensorHandle)> DebugCallbackFunction
Define the type of callback for the Debug layer to call.
Definition: Types.hpp:244
+
constexpr const char * GetDataTypeName(DataType dataType)
Definition: TypesUtils.hpp:168
+ +
DataType
Definition: Types.hpp:32
+ + + +
Contains information about inputs and outputs to a layer.
+ +
RefDebugWorkload(const DebugQueueDescriptor &descriptor, const WorkloadInfo &info)
+ +
void RegisterDebugCallback(const DebugCallbackFunction &func) override
+
+
+ + + + -- cgit v1.2.1