ArmNN
 21.11
StringifyLayerParameters< TransposeDescriptor > Struct Template Reference

#include <SerializeLayerParameters.hpp>

Static Public Member Functions

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

Detailed Description

template<>
struct armnn::StringifyLayerParameters< TransposeDescriptor >

Definition at line 177 of file SerializeLayerParameters.hpp.

Member Function Documentation

◆ Serialize()

void Serialize ( ParameterStringifyFunction fn,
const TransposeDescriptor desc 
)
static

Definition at line 531 of file SerializeLayerParameters.cpp.

References TransposeDescriptor::m_DimMappings.

533 {
534  std::stringstream ss;
535  ss << "[";
536  bool addComma = false;
537  for (auto it : desc.m_DimMappings)
538  {
539  if (addComma)
540  {
541  ss << ",";
542  }
543  ss << it;
544  addComma = true;
545  }
546  ss << "]";
547 
548  fn("DimMappings",ss.str());
549 }

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