ArmNN
 22.02
LstmDescriptorBuilder Struct Reference

#include <ArmnnSchema_generated.h>

Public Types

typedef LstmDescriptor Table
 

Public Member Functions

void add_activationFunc (uint32_t activationFunc)
 
void add_clippingThresCell (float clippingThresCell)
 
void add_clippingThresProj (float clippingThresProj)
 
void add_cifgEnabled (bool cifgEnabled)
 
void add_peepholeEnabled (bool peepholeEnabled)
 
void add_projectionEnabled (bool projectionEnabled)
 
void add_layerNormEnabled (bool layerNormEnabled)
 
 LstmDescriptorBuilder (flatbuffers::FlatBufferBuilder &_fbb)
 
LstmDescriptorBuilderoperator= (const LstmDescriptorBuilder &)
 
flatbuffers::Offset< LstmDescriptor > Finish ()
 

Public Attributes

flatbuffers::FlatBufferBuilder & fbb_
 
flatbuffers::uoffset_t start_
 

Detailed Description

Definition at line 8305 of file ArmnnSchema_generated.h.

Member Typedef Documentation

◆ Table

typedef LstmDescriptor Table

Definition at line 8306 of file ArmnnSchema_generated.h.

Constructor & Destructor Documentation

◆ LstmDescriptorBuilder()

LstmDescriptorBuilder ( flatbuffers::FlatBufferBuilder &  _fbb)
inlineexplicit

Definition at line 8330 of file ArmnnSchema_generated.h.

8331  : fbb_(_fbb) {
8332  start_ = fbb_.StartTable();
8333  }
flatbuffers::FlatBufferBuilder & fbb_

Member Function Documentation

◆ add_activationFunc()

void add_activationFunc ( uint32_t  activationFunc)
inline

Definition at line 8309 of file ArmnnSchema_generated.h.

References VT_ACTIVATIONFUNC.

Referenced by armnnSerializer::CreateLstmDescriptor().

8309  {
8310  fbb_.AddElement<uint32_t>(LstmDescriptor::VT_ACTIVATIONFUNC, activationFunc, 0);
8311  }
flatbuffers::FlatBufferBuilder & fbb_

◆ add_cifgEnabled()

void add_cifgEnabled ( bool  cifgEnabled)
inline

Definition at line 8318 of file ArmnnSchema_generated.h.

References VT_CIFGENABLED.

Referenced by armnnSerializer::CreateLstmDescriptor().

8318  {
8319  fbb_.AddElement<uint8_t>(LstmDescriptor::VT_CIFGENABLED, static_cast<uint8_t>(cifgEnabled), 1);
8320  }
flatbuffers::FlatBufferBuilder & fbb_

◆ add_clippingThresCell()

void add_clippingThresCell ( float  clippingThresCell)
inline

Definition at line 8312 of file ArmnnSchema_generated.h.

References VT_CLIPPINGTHRESCELL.

Referenced by armnnSerializer::CreateLstmDescriptor().

8312  {
8313  fbb_.AddElement<float>(LstmDescriptor::VT_CLIPPINGTHRESCELL, clippingThresCell, 0.0f);
8314  }
flatbuffers::FlatBufferBuilder & fbb_
VT_CLIPPINGTHRESCELL

◆ add_clippingThresProj()

void add_clippingThresProj ( float  clippingThresProj)
inline

Definition at line 8315 of file ArmnnSchema_generated.h.

References VT_CLIPPINGTHRESPROJ.

Referenced by armnnSerializer::CreateLstmDescriptor().

8315  {
8316  fbb_.AddElement<float>(LstmDescriptor::VT_CLIPPINGTHRESPROJ, clippingThresProj, 0.0f);
8317  }
VT_CLIPPINGTHRESPROJ
flatbuffers::FlatBufferBuilder & fbb_

◆ add_layerNormEnabled()

void add_layerNormEnabled ( bool  layerNormEnabled)
inline

Definition at line 8327 of file ArmnnSchema_generated.h.

References VT_LAYERNORMENABLED.

Referenced by armnnSerializer::CreateLstmDescriptor().

8327  {
8328  fbb_.AddElement<uint8_t>(LstmDescriptor::VT_LAYERNORMENABLED, static_cast<uint8_t>(layerNormEnabled), 0);
8329  }
flatbuffers::FlatBufferBuilder & fbb_

◆ add_peepholeEnabled()

void add_peepholeEnabled ( bool  peepholeEnabled)
inline

Definition at line 8321 of file ArmnnSchema_generated.h.

References VT_PEEPHOLEENABLED.

Referenced by armnnSerializer::CreateLstmDescriptor().

8321  {
8322  fbb_.AddElement<uint8_t>(LstmDescriptor::VT_PEEPHOLEENABLED, static_cast<uint8_t>(peepholeEnabled), 0);
8323  }
flatbuffers::FlatBufferBuilder & fbb_

◆ add_projectionEnabled()

void add_projectionEnabled ( bool  projectionEnabled)
inline

Definition at line 8324 of file ArmnnSchema_generated.h.

References VT_PROJECTIONENABLED.

Referenced by armnnSerializer::CreateLstmDescriptor().

8324  {
8325  fbb_.AddElement<uint8_t>(LstmDescriptor::VT_PROJECTIONENABLED, static_cast<uint8_t>(projectionEnabled), 0);
8326  }
VT_PROJECTIONENABLED
flatbuffers::FlatBufferBuilder & fbb_

◆ Finish()

flatbuffers::Offset<LstmDescriptor> Finish ( )
inline

Definition at line 8335 of file ArmnnSchema_generated.h.

Referenced by armnnSerializer::CreateLstmDescriptor().

8335  {
8336  const auto end = fbb_.EndTable(start_);
8337  auto o = flatbuffers::Offset<LstmDescriptor>(end);
8338  return o;
8339  }
flatbuffers::FlatBufferBuilder & fbb_

◆ operator=()

LstmDescriptorBuilder& operator= ( const LstmDescriptorBuilder )

Member Data Documentation

◆ fbb_

flatbuffers::FlatBufferBuilder& fbb_

Definition at line 8307 of file ArmnnSchema_generated.h.

◆ start_

flatbuffers::uoffset_t start_

Definition at line 8308 of file ArmnnSchema_generated.h.


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