ArmNN
 21.11
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 8043 of file ArmnnSchema_generated.h.

Member Typedef Documentation

◆ Table

typedef LstmDescriptor Table

Definition at line 8044 of file ArmnnSchema_generated.h.

Constructor & Destructor Documentation

◆ LstmDescriptorBuilder()

LstmDescriptorBuilder ( flatbuffers::FlatBufferBuilder &  _fbb)
inlineexplicit

Definition at line 8068 of file ArmnnSchema_generated.h.

8069  : fbb_(_fbb) {
8070  start_ = fbb_.StartTable();
8071  }
flatbuffers::FlatBufferBuilder & fbb_

Member Function Documentation

◆ add_activationFunc()

void add_activationFunc ( uint32_t  activationFunc)
inline

Definition at line 8047 of file ArmnnSchema_generated.h.

References VT_ACTIVATIONFUNC.

Referenced by armnnSerializer::CreateLstmDescriptor().

8047  {
8048  fbb_.AddElement<uint32_t>(LstmDescriptor::VT_ACTIVATIONFUNC, activationFunc, 0);
8049  }
flatbuffers::FlatBufferBuilder & fbb_

◆ add_cifgEnabled()

void add_cifgEnabled ( bool  cifgEnabled)
inline

Definition at line 8056 of file ArmnnSchema_generated.h.

References VT_CIFGENABLED.

Referenced by armnnSerializer::CreateLstmDescriptor().

8056  {
8057  fbb_.AddElement<uint8_t>(LstmDescriptor::VT_CIFGENABLED, static_cast<uint8_t>(cifgEnabled), 1);
8058  }
flatbuffers::FlatBufferBuilder & fbb_

◆ add_clippingThresCell()

void add_clippingThresCell ( float  clippingThresCell)
inline

Definition at line 8050 of file ArmnnSchema_generated.h.

References VT_CLIPPINGTHRESCELL.

Referenced by armnnSerializer::CreateLstmDescriptor().

8050  {
8051  fbb_.AddElement<float>(LstmDescriptor::VT_CLIPPINGTHRESCELL, clippingThresCell, 0.0f);
8052  }
flatbuffers::FlatBufferBuilder & fbb_
VT_CLIPPINGTHRESCELL

◆ add_clippingThresProj()

void add_clippingThresProj ( float  clippingThresProj)
inline

Definition at line 8053 of file ArmnnSchema_generated.h.

References VT_CLIPPINGTHRESPROJ.

Referenced by armnnSerializer::CreateLstmDescriptor().

8053  {
8054  fbb_.AddElement<float>(LstmDescriptor::VT_CLIPPINGTHRESPROJ, clippingThresProj, 0.0f);
8055  }
VT_CLIPPINGTHRESPROJ
flatbuffers::FlatBufferBuilder & fbb_

◆ add_layerNormEnabled()

void add_layerNormEnabled ( bool  layerNormEnabled)
inline

Definition at line 8065 of file ArmnnSchema_generated.h.

References VT_LAYERNORMENABLED.

Referenced by armnnSerializer::CreateLstmDescriptor().

8065  {
8066  fbb_.AddElement<uint8_t>(LstmDescriptor::VT_LAYERNORMENABLED, static_cast<uint8_t>(layerNormEnabled), 0);
8067  }
flatbuffers::FlatBufferBuilder & fbb_

◆ add_peepholeEnabled()

void add_peepholeEnabled ( bool  peepholeEnabled)
inline

Definition at line 8059 of file ArmnnSchema_generated.h.

References VT_PEEPHOLEENABLED.

Referenced by armnnSerializer::CreateLstmDescriptor().

8059  {
8060  fbb_.AddElement<uint8_t>(LstmDescriptor::VT_PEEPHOLEENABLED, static_cast<uint8_t>(peepholeEnabled), 0);
8061  }
flatbuffers::FlatBufferBuilder & fbb_

◆ add_projectionEnabled()

void add_projectionEnabled ( bool  projectionEnabled)
inline

Definition at line 8062 of file ArmnnSchema_generated.h.

References VT_PROJECTIONENABLED.

Referenced by armnnSerializer::CreateLstmDescriptor().

8062  {
8063  fbb_.AddElement<uint8_t>(LstmDescriptor::VT_PROJECTIONENABLED, static_cast<uint8_t>(projectionEnabled), 0);
8064  }
VT_PROJECTIONENABLED
flatbuffers::FlatBufferBuilder & fbb_

◆ Finish()

flatbuffers::Offset<LstmDescriptor> Finish ( )
inline

Definition at line 8073 of file ArmnnSchema_generated.h.

Referenced by armnnSerializer::CreateLstmDescriptor().

8073  {
8074  const auto end = fbb_.EndTable(start_);
8075  auto o = flatbuffers::Offset<LstmDescriptor>(end);
8076  return o;
8077  }
flatbuffers::FlatBufferBuilder & fbb_

◆ operator=()

LstmDescriptorBuilder& operator= ( const LstmDescriptorBuilder )

Member Data Documentation

◆ fbb_

flatbuffers::FlatBufferBuilder& fbb_

Definition at line 8045 of file ArmnnSchema_generated.h.

◆ start_

flatbuffers::uoffset_t start_

Definition at line 8046 of file ArmnnSchema_generated.h.


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