ArmNN
 21.08
StringifyLayerParameters< SpaceToDepthDescriptor > Struct Template Reference

#include <SerializeLayerParameters.hpp>

Static Public Member Functions

static void Serialize (ParameterStringifyFunction &fn, const SpaceToDepthDescriptor &desc)
 

Detailed Description

template<>
struct armnn::StringifyLayerParameters< SpaceToDepthDescriptor >

Definition at line 147 of file SerializeLayerParameters.hpp.

Member Function Documentation

◆ Serialize()

void Serialize ( ParameterStringifyFunction fn,
const SpaceToDepthDescriptor desc 
)
static

Definition at line 411 of file SerializeLayerParameters.cpp.

References armnn::GetDataLayoutName(), SpaceToDepthDescriptor::m_BlockSize, and SpaceToDepthDescriptor::m_DataLayout.

413 {
414  fn("BlockSize", std::to_string(desc.m_BlockSize));
415  fn("DataLayout", GetDataLayoutName(desc.m_DataLayout));
416 }
constexpr const char * GetDataLayoutName(DataLayout dataLayout)
Definition: TypesUtils.hpp:216

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