ArmNN
 22.05.01
ShortDataBuilder Struct Reference

#include <ArmnnSchema_generated.h>

Public Types

typedef ShortData Table
 

Public Member Functions

void add_data (flatbuffers::Offset< flatbuffers::Vector< int16_t >> data)
 
 ShortDataBuilder (flatbuffers::FlatBufferBuilder &_fbb)
 
ShortDataBuilderoperator= (const ShortDataBuilder &)
 
flatbuffers::Offset< ShortData > Finish ()
 

Public Attributes

flatbuffers::FlatBufferBuilder & fbb_
 
flatbuffers::uoffset_t start_
 

Detailed Description

Definition at line 2001 of file ArmnnSchema_generated.h.

Member Typedef Documentation

◆ Table

typedef ShortData Table

Definition at line 2002 of file ArmnnSchema_generated.h.

Constructor & Destructor Documentation

◆ ShortDataBuilder()

ShortDataBuilder ( flatbuffers::FlatBufferBuilder &  _fbb)
inlineexplicit

Definition at line 2008 of file ArmnnSchema_generated.h.

2009  : fbb_(_fbb) {
2010  start_ = fbb_.StartTable();
2011  }
flatbuffers::FlatBufferBuilder & fbb_

Member Function Documentation

◆ add_data()

void add_data ( flatbuffers::Offset< flatbuffers::Vector< int16_t >>  data)
inline

Definition at line 2005 of file ArmnnSchema_generated.h.

Referenced by armnnSerializer::CreateShortData().

2005  {
2006  fbb_.AddOffset(ShortData::VT_DATA, data);
2007  }
flatbuffers::FlatBufferBuilder & fbb_

◆ Finish()

flatbuffers::Offset<ShortData> Finish ( )
inline

Definition at line 2013 of file ArmnnSchema_generated.h.

Referenced by armnnSerializer::CreateShortData().

2013  {
2014  const auto end = fbb_.EndTable(start_);
2015  auto o = flatbuffers::Offset<ShortData>(end);
2016  return o;
2017  }
flatbuffers::FlatBufferBuilder & fbb_

◆ operator=()

ShortDataBuilder& operator= ( const ShortDataBuilder )

Member Data Documentation

◆ fbb_

flatbuffers::FlatBufferBuilder& fbb_

Definition at line 2003 of file ArmnnSchema_generated.h.

◆ start_

flatbuffers::uoffset_t start_

Definition at line 2004 of file ArmnnSchema_generated.h.


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