ArmNN
 21.08
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 172 of file SerializeLayerParameters.hpp.

Member Function Documentation

◆ Serialize()

void Serialize ( ParameterStringifyFunction fn,
const TransposeDescriptor desc 
)
static

Definition at line 506 of file SerializeLayerParameters.cpp.

References TransposeDescriptor::m_DimMappings.

508 {
509  std::stringstream ss;
510  ss << "[";
511  bool addComma = false;
512  for (auto it : desc.m_DimMappings)
513  {
514  if (addComma)
515  {
516  ss << ",";
517  }
518  ss << it;
519  addComma = true;
520  }
521  ss << "]";
522 
523  fn("DimMappings",ss.str());
524 }

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