ArmNN
 21.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 7456 of file ArmnnSchema_generated.h.

Member Typedef Documentation

◆ Table

typedef LstmDescriptor Table

Definition at line 7457 of file ArmnnSchema_generated.h.

Constructor & Destructor Documentation

◆ LstmDescriptorBuilder()

LstmDescriptorBuilder ( flatbuffers::FlatBufferBuilder &  _fbb)
inlineexplicit

Definition at line 7481 of file ArmnnSchema_generated.h.

7482  : fbb_(_fbb) {
7483  start_ = fbb_.StartTable();
7484  }
flatbuffers::FlatBufferBuilder & fbb_

Member Function Documentation

◆ add_activationFunc()

void add_activationFunc ( uint32_t  activationFunc)
inline

Definition at line 7460 of file ArmnnSchema_generated.h.

References VT_ACTIVATIONFUNC.

Referenced by armnnSerializer::CreateLstmDescriptor().

7460  {
7461  fbb_.AddElement<uint32_t>(LstmDescriptor::VT_ACTIVATIONFUNC, activationFunc, 0);
7462  }
flatbuffers::FlatBufferBuilder & fbb_

◆ add_cifgEnabled()

void add_cifgEnabled ( bool  cifgEnabled)
inline

Definition at line 7469 of file ArmnnSchema_generated.h.

References VT_CIFGENABLED.

Referenced by armnnSerializer::CreateLstmDescriptor().

7469  {
7470  fbb_.AddElement<uint8_t>(LstmDescriptor::VT_CIFGENABLED, static_cast<uint8_t>(cifgEnabled), 1);
7471  }
flatbuffers::FlatBufferBuilder & fbb_

◆ add_clippingThresCell()

void add_clippingThresCell ( float  clippingThresCell)
inline

Definition at line 7463 of file ArmnnSchema_generated.h.

References VT_CLIPPINGTHRESCELL.

Referenced by armnnSerializer::CreateLstmDescriptor().

7463  {
7464  fbb_.AddElement<float>(LstmDescriptor::VT_CLIPPINGTHRESCELL, clippingThresCell, 0.0f);
7465  }
flatbuffers::FlatBufferBuilder & fbb_
VT_CLIPPINGTHRESCELL

◆ add_clippingThresProj()

void add_clippingThresProj ( float  clippingThresProj)
inline

Definition at line 7466 of file ArmnnSchema_generated.h.

References VT_CLIPPINGTHRESPROJ.

Referenced by armnnSerializer::CreateLstmDescriptor().

7466  {
7467  fbb_.AddElement<float>(LstmDescriptor::VT_CLIPPINGTHRESPROJ, clippingThresProj, 0.0f);
7468  }
VT_CLIPPINGTHRESPROJ
flatbuffers::FlatBufferBuilder & fbb_

◆ add_layerNormEnabled()

void add_layerNormEnabled ( bool  layerNormEnabled)
inline

Definition at line 7478 of file ArmnnSchema_generated.h.

References VT_LAYERNORMENABLED.

Referenced by armnnSerializer::CreateLstmDescriptor().

7478  {
7479  fbb_.AddElement<uint8_t>(LstmDescriptor::VT_LAYERNORMENABLED, static_cast<uint8_t>(layerNormEnabled), 0);
7480  }
flatbuffers::FlatBufferBuilder & fbb_

◆ add_peepholeEnabled()

void add_peepholeEnabled ( bool  peepholeEnabled)
inline

Definition at line 7472 of file ArmnnSchema_generated.h.

References VT_PEEPHOLEENABLED.

Referenced by armnnSerializer::CreateLstmDescriptor().

7472  {
7473  fbb_.AddElement<uint8_t>(LstmDescriptor::VT_PEEPHOLEENABLED, static_cast<uint8_t>(peepholeEnabled), 0);
7474  }
flatbuffers::FlatBufferBuilder & fbb_

◆ add_projectionEnabled()

void add_projectionEnabled ( bool  projectionEnabled)
inline

Definition at line 7475 of file ArmnnSchema_generated.h.

References VT_PROJECTIONENABLED.

Referenced by armnnSerializer::CreateLstmDescriptor().

7475  {
7476  fbb_.AddElement<uint8_t>(LstmDescriptor::VT_PROJECTIONENABLED, static_cast<uint8_t>(projectionEnabled), 0);
7477  }
VT_PROJECTIONENABLED
flatbuffers::FlatBufferBuilder & fbb_

◆ Finish()

flatbuffers::Offset<LstmDescriptor> Finish ( )
inline

Definition at line 7486 of file ArmnnSchema_generated.h.

Referenced by armnnSerializer::CreateLstmDescriptor().

7486  {
7487  const auto end = fbb_.EndTable(start_);
7488  auto o = flatbuffers::Offset<LstmDescriptor>(end);
7489  return o;
7490  }
flatbuffers::FlatBufferBuilder & fbb_

◆ operator=()

LstmDescriptorBuilder& operator= ( const LstmDescriptorBuilder )

Member Data Documentation

◆ fbb_

flatbuffers::FlatBufferBuilder& fbb_

Definition at line 7458 of file ArmnnSchema_generated.h.

◆ start_

flatbuffers::uoffset_t start_

Definition at line 7459 of file ArmnnSchema_generated.h.


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