From f86be93b7492b381370cae7bf71eca8572a0cbae Mon Sep 17 00:00:00 2001 From: Matthew Sloyan Date: Tue, 24 Aug 2021 16:27:15 +0100 Subject: IVGCVSW-5924 Update 21.08 Doxygen Documents * Also updated latest symlink. Signed-off-by: Matthew Sloyan Change-Id: If9b4e0e52464abdf797b9eb858ae19bcc64c2aea --- 21.08/structarmnn_1_1_json_child_object.xhtml | 645 ++++++++++++++++++++++++++ 1 file changed, 645 insertions(+) create mode 100644 21.08/structarmnn_1_1_json_child_object.xhtml (limited to '21.08/structarmnn_1_1_json_child_object.xhtml') diff --git a/21.08/structarmnn_1_1_json_child_object.xhtml b/21.08/structarmnn_1_1_json_child_object.xhtml new file mode 100644 index 0000000000..4de38c2551 --- /dev/null +++ b/21.08/structarmnn_1_1_json_child_object.xhtml @@ -0,0 +1,645 @@ + + + + + + + + + + + + + +ArmNN: JsonChildObject Struct Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  21.08 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
JsonChildObject Struct Reference
+
+
+ +

#include <JsonPrinter.hpp>

+ + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 JsonChildObject (const std::string &label)
 
 JsonChildObject (const JsonChildObject &)=default
 
void AddMeasurement (const double measurement)
 
void SetAndParseDetails (std::string layerDetailsStr)
 
void SetGuid (profiling::ProfilingGuid guid)
 
void AddChild (const JsonChildObject &childObject)
 
JsonChildObjectGetChild (const unsigned int index)
 
void SetUnit (const Measurement::Unit unit)
 
size_t NumChildren () const
 
void SetType (JsonObjectType type)
 
JsonObjectType GetType () const
 
 ~JsonChildObject ()=default
 
+ + + + + + + + + + + + + + + +

+Public Attributes

std::string m_Label
 
Measurement::Unit m_Unit
 
JsonObjectType m_Type
 
Optional< profiling::ProfilingGuid > m_Guid
 
std::vector< double > m_Measurements
 
std::vector< std::string > m_LayerDetailsList
 
std::vector< JsonChildObjectm_Children
 
+

Detailed Description

+
+

Definition at line 27 of file JsonPrinter.hpp.

+

Constructor & Destructor Documentation

+ +

◆ JsonChildObject() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + +
JsonChildObject (const std::string & label)
+
+inline
+
+ +

Definition at line 30 of file JsonPrinter.hpp.

+
31  : m_Label(label),
32  m_Unit(Measurement::Unit::TIME_MS),
35  {}
+
Optional< profiling::ProfilingGuid > m_Guid
Definition: JsonPrinter.hpp:93
+
Measurement::Unit m_Unit
Definition: JsonPrinter.hpp:91
+
EmptyOptional is used to initialize the Optional class in case we want to have default value for an O...
Definition: Optional.hpp:32
+ +
JsonObjectType m_Type
Definition: JsonPrinter.hpp:92
+
+
+
+ +

◆ JsonChildObject() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + +
JsonChildObject (const JsonChildObject)
+
+default
+
+ +
+
+ +

◆ ~JsonChildObject()

+ +
+
+ + + + + +
+ + + + + + + +
~JsonChildObject ()
+
+default
+
+ +
+
+

Member Function Documentation

+ +

◆ AddChild()

+ +
+
+ + + + + +
+ + + + + + + + +
void AddChild (const JsonChildObjectchildObject)
+
+inline
+
+ +

Definition at line 58 of file JsonPrinter.hpp.

+ +

Referenced by armnn::ExtractJsonObjects().

+
59  {
60  m_Children.push_back(childObject);
61  }
std::vector< JsonChildObject > m_Children
Definition: JsonPrinter.hpp:96
+
+
+
+ +

◆ AddMeasurement()

+ +
+
+ + + + + +
+ + + + + + + + +
void AddMeasurement (const double measurement)
+
+inline
+
+ +

Definition at line 38 of file JsonPrinter.hpp.

+ +

Referenced by armnn::ExtractJsonObjects().

+
39  {
40  m_Measurements.push_back(measurement);
41  }
std::vector< double > m_Measurements
Definition: JsonPrinter.hpp:94
+
+
+
+ +

◆ GetChild()

+ +
+
+ + + + + +
+ + + + + + + + +
JsonChildObject& GetChild (const unsigned int index)
+
+inline
+
+ +

Definition at line 63 of file JsonPrinter.hpp.

+ +

Referenced by armnn::ExtractJsonObjects().

+
64  {
65  return m_Children[index];
66  }
std::vector< JsonChildObject > m_Children
Definition: JsonPrinter.hpp:96
+
+
+
+ +

◆ GetType()

+ +
+
+ + + + + +
+ + + + + + + +
JsonObjectType GetType () const
+
+inline
+
+ +

Definition at line 83 of file JsonPrinter.hpp.

+
84  {
85  return m_Type;
86  }
JsonObjectType m_Type
Definition: JsonPrinter.hpp:92
+
+
+
+ +

◆ NumChildren()

+ +
+
+ + + + + +
+ + + + + + + +
size_t NumChildren () const
+
+inline
+
+ +

Definition at line 73 of file JsonPrinter.hpp.

+ +

Referenced by armnn::ExtractJsonObjects().

+
74  {
75  return m_Children.size();
76  }
std::vector< JsonChildObject > m_Children
Definition: JsonPrinter.hpp:96
+
+
+
+ +

◆ SetAndParseDetails()

+ +
+
+ + + + + +
+ + + + + + + + +
void SetAndParseDetails (std::string layerDetailsStr)
+
+inline
+
+ +

Definition at line 43 of file JsonPrinter.hpp.

+ +

Referenced by armnn::ConfigureDetailsObject().

+
44  {
45  std::stringstream layerDetails(layerDetailsStr);
46  std::string stringLine;
47  while (std::getline(layerDetails, stringLine, '\n'))
48  {
49  m_LayerDetailsList.push_back(stringLine);
50  }
51  }
std::vector< std::string > m_LayerDetailsList
Definition: JsonPrinter.hpp:95
+
+
+
+ +

◆ SetGuid()

+ +
+
+ + + + + +
+ + + + + + + + +
void SetGuid (profiling::ProfilingGuid guid)
+
+inline
+
+ +

Definition at line 53 of file JsonPrinter.hpp.

+ +

Referenced by armnn::ExtractJsonObjects().

+
54  {
55  m_Guid = Optional<profiling::ProfilingGuid>(guid);
56  }
Optional< profiling::ProfilingGuid > m_Guid
Definition: JsonPrinter.hpp:93
+
+
+
+ +

◆ SetType()

+ +
+
+ + + + + +
+ + + + + + + + +
void SetType (JsonObjectType type)
+
+inline
+
+ +

Definition at line 78 of file JsonPrinter.hpp.

+ +

Referenced by armnn::ConfigureDetailsObject(), and armnn::ExtractJsonObjects().

+
79  {
80  m_Type = type;
81  }
JsonObjectType m_Type
Definition: JsonPrinter.hpp:92
+
+
+
+ +

◆ SetUnit()

+ +
+
+ + + + + +
+ + + + + + + + +
void SetUnit (const Measurement::Unit unit)
+
+inline
+
+ +

Definition at line 68 of file JsonPrinter.hpp.

+ +

Referenced by armnn::ExtractJsonObjects().

+
69  {
70  m_Unit = unit;
71  }
Measurement::Unit m_Unit
Definition: JsonPrinter.hpp:91
+
+
+
+

Member Data Documentation

+ +

◆ m_Children

+ +
+
+ + + + +
std::vector<JsonChildObject> m_Children
+
+ +

Definition at line 96 of file JsonPrinter.hpp.

+ +
+
+ +

◆ m_Guid

+ +
+
+ + + + +
Optional<profiling::ProfilingGuid> m_Guid
+
+ +

Definition at line 93 of file JsonPrinter.hpp.

+ +
+
+ +

◆ m_Label

+ +
+
+ + + + +
std::string m_Label
+
+ +

Definition at line 90 of file JsonPrinter.hpp.

+ +
+
+ +

◆ m_LayerDetailsList

+ +
+
+ + + + +
std::vector<std::string> m_LayerDetailsList
+
+ +

Definition at line 95 of file JsonPrinter.hpp.

+ +
+
+ +

◆ m_Measurements

+ +
+
+ + + + +
std::vector<double> m_Measurements
+
+ +

Definition at line 94 of file JsonPrinter.hpp.

+ +
+
+ +

◆ m_Type

+ +
+
+ + + + +
JsonObjectType m_Type
+
+ +

Definition at line 92 of file JsonPrinter.hpp.

+ +
+
+ +

◆ m_Unit

+ +
+
+ + + + +
Measurement::Unit m_Unit
+
+ +

Definition at line 91 of file JsonPrinter.hpp.

+ +
+
+
The documentation for this struct was generated from the following file: +
+
+ + + + -- cgit v1.2.1