ArmNN
 21.05
GatherLayerBuilder Struct Reference

#include <ArmnnSchema_generated.h>

Public Types

typedef GatherLayer Table
 

Public Member Functions

void add_base (flatbuffers::Offset< armnnSerializer::LayerBase > base)
 
void add_descriptor (flatbuffers::Offset< armnnSerializer::GatherDescriptor > descriptor)
 
 GatherLayerBuilder (flatbuffers::FlatBufferBuilder &_fbb)
 
GatherLayerBuilderoperator= (const GatherLayerBuilder &)
 
flatbuffers::Offset< GatherLayer > Finish ()
 

Public Attributes

flatbuffers::FlatBufferBuilder & fbb_
 
flatbuffers::uoffset_t start_
 

Detailed Description

Definition at line 3645 of file ArmnnSchema_generated.h.

Member Typedef Documentation

◆ Table

typedef GatherLayer Table

Definition at line 3646 of file ArmnnSchema_generated.h.

Constructor & Destructor Documentation

◆ GatherLayerBuilder()

GatherLayerBuilder ( flatbuffers::FlatBufferBuilder &  _fbb)
inlineexplicit

Definition at line 3655 of file ArmnnSchema_generated.h.

3656  : fbb_(_fbb) {
3657  start_ = fbb_.StartTable();
3658  }
flatbuffers::FlatBufferBuilder & fbb_

Member Function Documentation

◆ add_base()

void add_base ( flatbuffers::Offset< armnnSerializer::LayerBase >  base)
inline

Definition at line 3649 of file ArmnnSchema_generated.h.

References VT_BASE.

Referenced by armnnSerializer::CreateGatherLayer().

3649  {
3650  fbb_.AddOffset(GatherLayer::VT_BASE, base);
3651  }
flatbuffers::FlatBufferBuilder & fbb_

◆ add_descriptor()

void add_descriptor ( flatbuffers::Offset< armnnSerializer::GatherDescriptor >  descriptor)
inline

Definition at line 3652 of file ArmnnSchema_generated.h.

References VT_DESCRIPTOR.

Referenced by armnnSerializer::CreateGatherLayer().

3652  {
3653  fbb_.AddOffset(GatherLayer::VT_DESCRIPTOR, descriptor);
3654  }
flatbuffers::FlatBufferBuilder & fbb_

◆ Finish()

flatbuffers::Offset<GatherLayer> Finish ( )
inline

Definition at line 3660 of file ArmnnSchema_generated.h.

Referenced by armnnSerializer::CreateGatherLayer().

3660  {
3661  const auto end = fbb_.EndTable(start_);
3662  auto o = flatbuffers::Offset<GatherLayer>(end);
3663  return o;
3664  }
flatbuffers::FlatBufferBuilder & fbb_

◆ operator=()

GatherLayerBuilder& operator= ( const GatherLayerBuilder )

Member Data Documentation

◆ fbb_

flatbuffers::FlatBufferBuilder& fbb_

Definition at line 3647 of file ArmnnSchema_generated.h.

◆ start_

flatbuffers::uoffset_t start_

Definition at line 3648 of file ArmnnSchema_generated.h.


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