ArmNN
 20.02
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 163 of file SerializeLayerParameters.hpp.

Member Function Documentation

◆ Serialize()

void Serialize ( ParameterStringifyFunction fn,
const TransposeDescriptor desc 
)
static

Definition at line 494 of file SerializeLayerParameters.cpp.

References TransposeDescriptor::m_DimMappings.

496 {
497  std::stringstream ss;
498  ss << "[";
499  bool addComma = false;
500  for (auto it : desc.m_DimMappings)
501  {
502  if (addComma)
503  {
504  ss << ",";
505  }
506  ss << it;
507  addComma = true;
508  }
509  ss << "]";
510 
511  fn("DimMappings",ss.str());
512 }

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