ArmNN
 21.05
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 168 of file SerializeLayerParameters.hpp.

Member Function Documentation

◆ Serialize()

void Serialize ( ParameterStringifyFunction fn,
const TransposeDescriptor desc 
)
static

Definition at line 518 of file SerializeLayerParameters.cpp.

References TransposeDescriptor::m_DimMappings.

520 {
521  std::stringstream ss;
522  ss << "[";
523  bool addComma = false;
524  for (auto it : desc.m_DimMappings)
525  {
526  if (addComma)
527  {
528  ss << ",";
529  }
530  ss << it;
531  addComma = true;
532  }
533  ss << "]";
534 
535  fn("DimMappings",ss.str());
536 }

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