ArmNN
 22.05.01
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 8361 of file ArmnnSchema_generated.h.

Member Typedef Documentation

◆ Table

typedef LstmDescriptor Table

Definition at line 8362 of file ArmnnSchema_generated.h.

Constructor & Destructor Documentation

◆ LstmDescriptorBuilder()

LstmDescriptorBuilder ( flatbuffers::FlatBufferBuilder &  _fbb)
inlineexplicit

Definition at line 8386 of file ArmnnSchema_generated.h.

8387  : fbb_(_fbb) {
8388  start_ = fbb_.StartTable();
8389  }
flatbuffers::FlatBufferBuilder & fbb_

Member Function Documentation

◆ add_activationFunc()

void add_activationFunc ( uint32_t  activationFunc)
inline

Definition at line 8365 of file ArmnnSchema_generated.h.

References VT_ACTIVATIONFUNC.

Referenced by armnnSerializer::CreateLstmDescriptor().

8365  {
8366  fbb_.AddElement<uint32_t>(LstmDescriptor::VT_ACTIVATIONFUNC, activationFunc, 0);
8367  }
flatbuffers::FlatBufferBuilder & fbb_

◆ add_cifgEnabled()

void add_cifgEnabled ( bool  cifgEnabled)
inline

Definition at line 8374 of file ArmnnSchema_generated.h.

References VT_CIFGENABLED.

Referenced by armnnSerializer::CreateLstmDescriptor().

8374  {
8375  fbb_.AddElement<uint8_t>(LstmDescriptor::VT_CIFGENABLED, static_cast<uint8_t>(cifgEnabled), 1);
8376  }
flatbuffers::FlatBufferBuilder & fbb_

◆ add_clippingThresCell()

void add_clippingThresCell ( float  clippingThresCell)
inline

Definition at line 8368 of file ArmnnSchema_generated.h.

References VT_CLIPPINGTHRESCELL.

Referenced by armnnSerializer::CreateLstmDescriptor().

8368  {
8369  fbb_.AddElement<float>(LstmDescriptor::VT_CLIPPINGTHRESCELL, clippingThresCell, 0.0f);
8370  }
flatbuffers::FlatBufferBuilder & fbb_
VT_CLIPPINGTHRESCELL

◆ add_clippingThresProj()

void add_clippingThresProj ( float  clippingThresProj)
inline

Definition at line 8371 of file ArmnnSchema_generated.h.

References VT_CLIPPINGTHRESPROJ.

Referenced by armnnSerializer::CreateLstmDescriptor().

8371  {
8372  fbb_.AddElement<float>(LstmDescriptor::VT_CLIPPINGTHRESPROJ, clippingThresProj, 0.0f);
8373  }
VT_CLIPPINGTHRESPROJ
flatbuffers::FlatBufferBuilder & fbb_

◆ add_layerNormEnabled()

void add_layerNormEnabled ( bool  layerNormEnabled)
inline

Definition at line 8383 of file ArmnnSchema_generated.h.

References VT_LAYERNORMENABLED.

Referenced by armnnSerializer::CreateLstmDescriptor().

8383  {
8384  fbb_.AddElement<uint8_t>(LstmDescriptor::VT_LAYERNORMENABLED, static_cast<uint8_t>(layerNormEnabled), 0);
8385  }
flatbuffers::FlatBufferBuilder & fbb_

◆ add_peepholeEnabled()

void add_peepholeEnabled ( bool  peepholeEnabled)
inline

Definition at line 8377 of file ArmnnSchema_generated.h.

References VT_PEEPHOLEENABLED.

Referenced by armnnSerializer::CreateLstmDescriptor().

8377  {
8378  fbb_.AddElement<uint8_t>(LstmDescriptor::VT_PEEPHOLEENABLED, static_cast<uint8_t>(peepholeEnabled), 0);
8379  }
flatbuffers::FlatBufferBuilder & fbb_

◆ add_projectionEnabled()

void add_projectionEnabled ( bool  projectionEnabled)
inline

Definition at line 8380 of file ArmnnSchema_generated.h.

References VT_PROJECTIONENABLED.

Referenced by armnnSerializer::CreateLstmDescriptor().

8380  {
8381  fbb_.AddElement<uint8_t>(LstmDescriptor::VT_PROJECTIONENABLED, static_cast<uint8_t>(projectionEnabled), 0);
8382  }
VT_PROJECTIONENABLED
flatbuffers::FlatBufferBuilder & fbb_

◆ Finish()

flatbuffers::Offset<LstmDescriptor> Finish ( )
inline

Definition at line 8391 of file ArmnnSchema_generated.h.

Referenced by armnnSerializer::CreateLstmDescriptor().

8391  {
8392  const auto end = fbb_.EndTable(start_);
8393  auto o = flatbuffers::Offset<LstmDescriptor>(end);
8394  return o;
8395  }
flatbuffers::FlatBufferBuilder & fbb_

◆ operator=()

LstmDescriptorBuilder& operator= ( const LstmDescriptorBuilder )

Member Data Documentation

◆ fbb_

flatbuffers::FlatBufferBuilder& fbb_

Definition at line 8363 of file ArmnnSchema_generated.h.

◆ start_

flatbuffers::uoffset_t start_

Definition at line 8364 of file ArmnnSchema_generated.h.


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