ArmNN
 22.02
StringifyLayerParameters< LstmDescriptor > Struct Template Reference

#include <SerializeLayerParameters.hpp>

Static Public Member Functions

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

Detailed Description

template<>
struct armnn::StringifyLayerParameters< LstmDescriptor >

Definition at line 93 of file SerializeLayerParameters.hpp.

Member Function Documentation

◆ Serialize()

void Serialize ( ParameterStringifyFunction fn,
const LstmDescriptor desc 
)
static

Definition at line 208 of file SerializeLayerParameters.cpp.

References LstmDescriptor::m_ActivationFunc, LstmDescriptor::m_CifgEnabled, LstmDescriptor::m_ClippingThresCell, LstmDescriptor::m_ClippingThresProj, LstmDescriptor::m_LayerNormEnabled, LstmDescriptor::m_PeepholeEnabled, and LstmDescriptor::m_ProjectionEnabled.

209 {
210  fn("ActivationFunc", std::to_string(desc.m_ActivationFunc));
211  fn("ClippingThresCell", std::to_string(desc.m_ClippingThresCell));
212  fn("ClippingThresProj", std::to_string(desc.m_ClippingThresProj));
213  fn("CifgEnabled", (desc.m_CifgEnabled ? "true" : "false")) ;
214  fn("PeepholeEnabled", (desc.m_PeepholeEnabled ? "true" : "false")) ;
215  fn("ProjectionEnabled", (desc.m_ProjectionEnabled ? "true" : "false")) ;
216  fn("LayerNormEnabled", (desc.m_LayerNormEnabled ? "true" : "false"));
217 }

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