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 --- ...r_parameters_3_01_origins_descriptor_01_4.xhtml | 175 +++++++++++++++++++++ 1 file changed, 175 insertions(+) create mode 100644 20.02/structarmnn_1_1_stringify_layer_parameters_3_01_origins_descriptor_01_4.xhtml (limited to '20.02/structarmnn_1_1_stringify_layer_parameters_3_01_origins_descriptor_01_4.xhtml') diff --git a/20.02/structarmnn_1_1_stringify_layer_parameters_3_01_origins_descriptor_01_4.xhtml b/20.02/structarmnn_1_1_stringify_layer_parameters_3_01_origins_descriptor_01_4.xhtml new file mode 100644 index 0000000000..a71233d85e --- /dev/null +++ b/20.02/structarmnn_1_1_stringify_layer_parameters_3_01_origins_descriptor_01_4.xhtml @@ -0,0 +1,175 @@ + + + + + + + + + + + + + +ArmNN: StringifyLayerParameters< OriginsDescriptor > Struct Template Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  20.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
StringifyLayerParameters< OriginsDescriptor > Struct Template Reference
+
+
+ +

#include <SerializeLayerParameters.hpp>

+ + + + +

+Static Public Member Functions

static void Serialize (ParameterStringifyFunction &fn, const OriginsDescriptor &desc)
 
+

Detailed Description

+

template<>
+struct armnn::StringifyLayerParameters< OriginsDescriptor >

+ + +

Definition at line 73 of file SerializeLayerParameters.hpp.

+

Member Function Documentation

+ +

◆ Serialize()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void Serialize (ParameterStringifyFunctionfn,
const OriginsDescriptordesc 
)
+
+static
+
+ +

Definition at line 152 of file SerializeLayerParameters.cpp.

+ +

References OriginsDescriptor::GetConcatAxis(), OriginsDescriptor::GetNumDimensions(), OriginsDescriptor::GetNumViews(), and OriginsDescriptor::GetViewOrigin().

+
154 {
155  fn("ConcatAxis", std::to_string(desc.GetConcatAxis()));
156 
157  uint32_t numViews = desc.GetNumViews();
158  uint32_t numDims = desc.GetNumDimensions();
159 
160  for (uint32_t view = 0; view < numViews; ++view)
161  {
162  std::stringstream key;
163  key << "MergeTo#" << view;
164  std::stringstream value;
165  value << "[";
166  auto viewData = desc.GetViewOrigin(view);
167 
168  for (uint32_t dim = 0; dim < numDims; ++dim)
169  {
170  if (dim > 0)
171  {
172  value << ",";
173  }
174  value << viewData[dim];
175  }
176  value << "]";
177  fn(key.str(), value.str());
178  }
179 }
+
+
+
The documentation for this struct was generated from the following files: +
+
+ + + + -- cgit v1.2.1