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

#include <SerializeLayerParameters.hpp>

+ + + + +

+Static Public Member Functions

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

Detailed Description

+

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

+ + +

Definition at line 78 of file SerializeLayerParameters.hpp.

+

Member Function Documentation

+ +

◆ Serialize()

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

Definition at line 181 of file SerializeLayerParameters.cpp.

+ +

References ViewsDescriptor::GetNumDimensions(), ViewsDescriptor::GetNumViews(), ViewsDescriptor::GetOrigins(), ViewsDescriptor::GetViewSizes(), and StringifyLayerParameters< LayerParameter >::Serialize().

+
182 {
183  uint32_t numViews = desc.GetNumViews();
184  uint32_t numDims = desc.GetNumDimensions();
185  for (uint32_t view = 0; view < numViews; ++view) {
186  std::stringstream key;
187  key << "ViewSizes#" << view;
188  std::stringstream value;
189  value << "[";
190  auto viewData = desc.GetViewSizes(view);
191  for (uint32_t dim = 0; dim < numDims; ++dim)
192  {
193  if (dim > 0)
194  {
195  value << ",";
196  }
197  value << viewData[dim];
198  }
199  value << "]";
200  fn(key.str(), value.str());
201  }
203 }
static void Serialize(ParameterStringifyFunction &, const LayerParameter &)
+
+
+
+
The documentation for this struct was generated from the following files: +
+
+ + + + -- cgit v1.2.1