ArmNN
 21.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 498 of file SerializeLayerParameters.cpp.

References TransposeDescriptor::m_DimMappings.

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

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