ArmNN
 23.02
StringifyLayerParameters< MeanDescriptor > Struct Reference

#include <SerializeLayerParameters.hpp>

Static Public Member Functions

static void Serialize (ParameterStringifyFunction &fn, const MeanDescriptor &desc)
 

Detailed Description

Definition at line 108 of file SerializeLayerParameters.hpp.

Member Function Documentation

◆ Serialize()

void Serialize ( ParameterStringifyFunction fn,
const MeanDescriptor desc 
)
static

Definition at line 234 of file SerializeLayerParameters.cpp.

235 {
236  {
237  std::stringstream ss;
238  int count = 0;
239  for (auto&& var : desc.m_Axis)
240  {
241  if (count > 0)
242  {
243  ss << ",";
244  }
245  ss << var;
246  ++count;
247  }
248  fn("Axis", ss.str());
249  }
250  fn("KeepDims", (desc.m_KeepDims ? "true" : "false"));
251 }

References MeanDescriptor::m_Axis, and MeanDescriptor::m_KeepDims.


The documentation for this struct was generated from the following files: