ArmNN
 24.02
StringifyLayerParameters< LstmDescriptor > Struct Reference

#include <SerializeLayerParameters.hpp>

Static Public Member Functions

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

Detailed Description

Definition at line 108 of file SerializeLayerParameters.hpp.

Member Function Documentation

◆ Serialize()

void Serialize ( ParameterStringifyFunction fn,
const LstmDescriptor desc 
)
static

Definition at line 230 of file SerializeLayerParameters.cpp.

231 {
232  fn("ActivationFunc", std::to_string(desc.m_ActivationFunc));
233  fn("ClippingThresCell", std::to_string(desc.m_ClippingThresCell));
234  fn("ClippingThresProj", std::to_string(desc.m_ClippingThresProj));
235  fn("CifgEnabled", (desc.m_CifgEnabled ? "true" : "false")) ;
236  fn("PeepholeEnabled", (desc.m_PeepholeEnabled ? "true" : "false")) ;
237  fn("ProjectionEnabled", (desc.m_ProjectionEnabled ? "true" : "false")) ;
238  fn("LayerNormEnabled", (desc.m_LayerNormEnabled ? "true" : "false"));
239 }

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


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