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 --- 23.05/_string_mapping_8hpp_source.xhtml | 181 ++++++++++++++++++++++++++++++++ 1 file changed, 181 insertions(+) create mode 100644 23.05/_string_mapping_8hpp_source.xhtml (limited to '23.05/_string_mapping_8hpp_source.xhtml') diff --git a/23.05/_string_mapping_8hpp_source.xhtml b/23.05/_string_mapping_8hpp_source.xhtml new file mode 100644 index 0000000000..f4bd8750a0 --- /dev/null +++ b/23.05/_string_mapping_8hpp_source.xhtml @@ -0,0 +1,181 @@ + + + + + + + + + + + + + +ArmNN: src/backends/reference/workloads/StringMapping.hpp Source File + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  23.05 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
StringMapping.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 namespace armnn
+
9 {
+
10 
+
11 ///
+
12 /// StringMapping is helper class to be able to use strings as template
+
13 /// parameters, so this allows simplifying code which only differs in
+
14 /// a string, such as a debug string literal.
+
15 ///
+ +
17 {
+
18 public:
+
19  enum Id {
+ + + + + + + +
27  };
+
28 
+
29  const char * Get(Id id) const
+
30  {
+
31  return m_Strings[id];
+
32  }
+
33 
+
34  static const StringMapping& Instance();
+
35 
+
36 private:
+ +
38  {
+
39  m_Strings[RefAdditionWorkload_Execute] = "RefAdditionWorkload_Execute";
+
40  m_Strings[RefDivisionWorkload_Execute] = "RefDivisionWorkload_Execute";
+
41  m_Strings[RefMaximumWorkload_Execute] = "RefMaximumWorkload_Execute";
+
42  m_Strings[RefMinimumWorkload_Execute] = "RefMinimumWorkload_Execute";
+
43  m_Strings[RefMultiplicationWorkload_Execute] = "RefMultiplicationWorkload_Execute";
+
44  m_Strings[RefSubtractionWorkload_Execute] = "RefSubtractionWorkload_Execute";
+
45  }
+
46 
+
47  StringMapping(const StringMapping &) = delete;
+
48  StringMapping& operator=(const StringMapping &) = delete;
+
49 
+
50  const char * m_Strings[MAX_STRING_ID];
+
51 };
+
52 
+
53 } //namespace armnn
+
+
+ +
const char * Get(Id id) const
+ + + + + +
Copyright (c) 2021 ARM Limited and Contributors.
+ +
StringMapping is helper class to be able to use strings as template parameters, so this allows simpli...
+
static const StringMapping & Instance()
+ + + + + -- cgit v1.2.1