ArmNN
 21.08
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 7615 of file ArmnnSchema_generated.h.

Member Typedef Documentation

◆ Table

typedef LstmDescriptor Table

Definition at line 7616 of file ArmnnSchema_generated.h.

Constructor & Destructor Documentation

◆ LstmDescriptorBuilder()

LstmDescriptorBuilder ( flatbuffers::FlatBufferBuilder &  _fbb)
inlineexplicit

Definition at line 7640 of file ArmnnSchema_generated.h.

7641  : fbb_(_fbb) {
7642  start_ = fbb_.StartTable();
7643  }
flatbuffers::FlatBufferBuilder & fbb_

Member Function Documentation

◆ add_activationFunc()

void add_activationFunc ( uint32_t  activationFunc)
inline

Definition at line 7619 of file ArmnnSchema_generated.h.

References VT_ACTIVATIONFUNC.

Referenced by armnnSerializer::CreateLstmDescriptor().

7619  {
7620  fbb_.AddElement<uint32_t>(LstmDescriptor::VT_ACTIVATIONFUNC, activationFunc, 0);
7621  }
flatbuffers::FlatBufferBuilder & fbb_

◆ add_cifgEnabled()

void add_cifgEnabled ( bool  cifgEnabled)
inline

Definition at line 7628 of file ArmnnSchema_generated.h.

References VT_CIFGENABLED.

Referenced by armnnSerializer::CreateLstmDescriptor().

7628  {
7629  fbb_.AddElement<uint8_t>(LstmDescriptor::VT_CIFGENABLED, static_cast<uint8_t>(cifgEnabled), 1);
7630  }
flatbuffers::FlatBufferBuilder & fbb_

◆ add_clippingThresCell()

void add_clippingThresCell ( float  clippingThresCell)
inline

Definition at line 7622 of file ArmnnSchema_generated.h.

References VT_CLIPPINGTHRESCELL.

Referenced by armnnSerializer::CreateLstmDescriptor().

7622  {
7623  fbb_.AddElement<float>(LstmDescriptor::VT_CLIPPINGTHRESCELL, clippingThresCell, 0.0f);
7624  }
flatbuffers::FlatBufferBuilder & fbb_
VT_CLIPPINGTHRESCELL

◆ add_clippingThresProj()

void add_clippingThresProj ( float  clippingThresProj)
inline

Definition at line 7625 of file ArmnnSchema_generated.h.

References VT_CLIPPINGTHRESPROJ.

Referenced by armnnSerializer::CreateLstmDescriptor().

7625  {
7626  fbb_.AddElement<float>(LstmDescriptor::VT_CLIPPINGTHRESPROJ, clippingThresProj, 0.0f);
7627  }
VT_CLIPPINGTHRESPROJ
flatbuffers::FlatBufferBuilder & fbb_

◆ add_layerNormEnabled()

void add_layerNormEnabled ( bool  layerNormEnabled)
inline

Definition at line 7637 of file ArmnnSchema_generated.h.

References VT_LAYERNORMENABLED.

Referenced by armnnSerializer::CreateLstmDescriptor().

7637  {
7638  fbb_.AddElement<uint8_t>(LstmDescriptor::VT_LAYERNORMENABLED, static_cast<uint8_t>(layerNormEnabled), 0);
7639  }
flatbuffers::FlatBufferBuilder & fbb_

◆ add_peepholeEnabled()

void add_peepholeEnabled ( bool  peepholeEnabled)
inline

Definition at line 7631 of file ArmnnSchema_generated.h.

References VT_PEEPHOLEENABLED.

Referenced by armnnSerializer::CreateLstmDescriptor().

7631  {
7632  fbb_.AddElement<uint8_t>(LstmDescriptor::VT_PEEPHOLEENABLED, static_cast<uint8_t>(peepholeEnabled), 0);
7633  }
flatbuffers::FlatBufferBuilder & fbb_

◆ add_projectionEnabled()

void add_projectionEnabled ( bool  projectionEnabled)
inline

Definition at line 7634 of file ArmnnSchema_generated.h.

References VT_PROJECTIONENABLED.

Referenced by armnnSerializer::CreateLstmDescriptor().

7634  {
7635  fbb_.AddElement<uint8_t>(LstmDescriptor::VT_PROJECTIONENABLED, static_cast<uint8_t>(projectionEnabled), 0);
7636  }
VT_PROJECTIONENABLED
flatbuffers::FlatBufferBuilder & fbb_

◆ Finish()

flatbuffers::Offset<LstmDescriptor> Finish ( )
inline

Definition at line 7645 of file ArmnnSchema_generated.h.

Referenced by armnnSerializer::CreateLstmDescriptor().

7645  {
7646  const auto end = fbb_.EndTable(start_);
7647  auto o = flatbuffers::Offset<LstmDescriptor>(end);
7648  return o;
7649  }
flatbuffers::FlatBufferBuilder & fbb_

◆ operator=()

LstmDescriptorBuilder& operator= ( const LstmDescriptorBuilder )

Member Data Documentation

◆ fbb_

flatbuffers::FlatBufferBuilder& fbb_

Definition at line 7617 of file ArmnnSchema_generated.h.

◆ start_

flatbuffers::uoffset_t start_

Definition at line 7618 of file ArmnnSchema_generated.h.


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