ArmNN
 22.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 182 of file SerializeLayerParameters.hpp.

Member Function Documentation

◆ Serialize()

void Serialize ( ParameterStringifyFunction fn,
const TransposeDescriptor desc 
)
static

Definition at line 560 of file SerializeLayerParameters.cpp.

References TransposeDescriptor::m_DimMappings.

562 {
563  std::stringstream ss;
564  ss << "[";
565  bool addComma = false;
566  for (auto it : desc.m_DimMappings)
567  {
568  if (addComma)
569  {
570  ss << ",";
571  }
572  ss << it;
573  addComma = true;
574  }
575  ss << "]";
576 
577  fn("DimMappings",ss.str());
578 }

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