ArmNN
 21.08
FullyConnectedDescriptorBuilder Struct Reference

#include <ArmnnSchema_generated.h>

Public Types

typedef FullyConnectedDescriptor Table
 

Public Member Functions

void add_biasEnabled (bool biasEnabled)
 
void add_transposeWeightsMatrix (bool transposeWeightsMatrix)
 
void add_constantWeights (bool constantWeights)
 
 FullyConnectedDescriptorBuilder (flatbuffers::FlatBufferBuilder &_fbb)
 
FullyConnectedDescriptorBuilderoperator= (const FullyConnectedDescriptorBuilder &)
 
flatbuffers::Offset< FullyConnectedDescriptor > Finish ()
 

Public Attributes

flatbuffers::FlatBufferBuilder & fbb_
 
flatbuffers::uoffset_t start_
 

Detailed Description

Definition at line 3634 of file ArmnnSchema_generated.h.

Member Typedef Documentation

◆ Table

typedef FullyConnectedDescriptor Table

Definition at line 3635 of file ArmnnSchema_generated.h.

Constructor & Destructor Documentation

◆ FullyConnectedDescriptorBuilder()

FullyConnectedDescriptorBuilder ( flatbuffers::FlatBufferBuilder &  _fbb)
inlineexplicit

Definition at line 3647 of file ArmnnSchema_generated.h.

3648  : fbb_(_fbb) {
3649  start_ = fbb_.StartTable();
3650  }

Member Function Documentation

◆ add_biasEnabled()

void add_biasEnabled ( bool  biasEnabled)
inline

Definition at line 3638 of file ArmnnSchema_generated.h.

References VT_BIASENABLED.

Referenced by armnnSerializer::CreateFullyConnectedDescriptor().

3638  {
3639  fbb_.AddElement<uint8_t>(FullyConnectedDescriptor::VT_BIASENABLED, static_cast<uint8_t>(biasEnabled), 0);
3640  }

◆ add_constantWeights()

void add_constantWeights ( bool  constantWeights)
inline

Definition at line 3644 of file ArmnnSchema_generated.h.

Referenced by armnnSerializer::CreateFullyConnectedDescriptor().

3644  {
3645  fbb_.AddElement<uint8_t>(FullyConnectedDescriptor::VT_CONSTANTWEIGHTS, static_cast<uint8_t>(constantWeights), 1);
3646  }

◆ add_transposeWeightsMatrix()

void add_transposeWeightsMatrix ( bool  transposeWeightsMatrix)
inline

Definition at line 3641 of file ArmnnSchema_generated.h.

References VT_TRANSPOSEWEIGHTSMATRIX.

Referenced by armnnSerializer::CreateFullyConnectedDescriptor().

3641  {
3642  fbb_.AddElement<uint8_t>(FullyConnectedDescriptor::VT_TRANSPOSEWEIGHTSMATRIX, static_cast<uint8_t>(transposeWeightsMatrix), 0);
3643  }
VT_TRANSPOSEWEIGHTSMATRIX

◆ Finish()

flatbuffers::Offset<FullyConnectedDescriptor> Finish ( )
inline

Definition at line 3652 of file ArmnnSchema_generated.h.

Referenced by armnnSerializer::CreateFullyConnectedDescriptor().

3652  {
3653  const auto end = fbb_.EndTable(start_);
3654  auto o = flatbuffers::Offset<FullyConnectedDescriptor>(end);
3655  return o;
3656  }

◆ operator=()

Member Data Documentation

◆ fbb_

flatbuffers::FlatBufferBuilder& fbb_

Definition at line 3636 of file ArmnnSchema_generated.h.

◆ start_

flatbuffers::uoffset_t start_

Definition at line 3637 of file ArmnnSchema_generated.h.


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