ArmNN
 21.05
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 3586 of file ArmnnSchema_generated.h.

Member Typedef Documentation

◆ Table

typedef FullyConnectedDescriptor Table

Definition at line 3587 of file ArmnnSchema_generated.h.

Constructor & Destructor Documentation

◆ FullyConnectedDescriptorBuilder()

FullyConnectedDescriptorBuilder ( flatbuffers::FlatBufferBuilder &  _fbb)
inlineexplicit

Definition at line 3599 of file ArmnnSchema_generated.h.

3600  : fbb_(_fbb) {
3601  start_ = fbb_.StartTable();
3602  }

Member Function Documentation

◆ add_biasEnabled()

void add_biasEnabled ( bool  biasEnabled)
inline

Definition at line 3590 of file ArmnnSchema_generated.h.

References VT_BIASENABLED.

Referenced by armnnSerializer::CreateFullyConnectedDescriptor().

3590  {
3591  fbb_.AddElement<uint8_t>(FullyConnectedDescriptor::VT_BIASENABLED, static_cast<uint8_t>(biasEnabled), 0);
3592  }

◆ add_constantWeights()

void add_constantWeights ( bool  constantWeights)
inline

Definition at line 3596 of file ArmnnSchema_generated.h.

Referenced by armnnSerializer::CreateFullyConnectedDescriptor().

3596  {
3597  fbb_.AddElement<uint8_t>(FullyConnectedDescriptor::VT_CONSTANTWEIGHTS, static_cast<uint8_t>(constantWeights), 1);
3598  }

◆ add_transposeWeightsMatrix()

void add_transposeWeightsMatrix ( bool  transposeWeightsMatrix)
inline

Definition at line 3593 of file ArmnnSchema_generated.h.

References VT_TRANSPOSEWEIGHTSMATRIX.

Referenced by armnnSerializer::CreateFullyConnectedDescriptor().

3593  {
3594  fbb_.AddElement<uint8_t>(FullyConnectedDescriptor::VT_TRANSPOSEWEIGHTSMATRIX, static_cast<uint8_t>(transposeWeightsMatrix), 0);
3595  }
VT_TRANSPOSEWEIGHTSMATRIX

◆ Finish()

flatbuffers::Offset<FullyConnectedDescriptor> Finish ( )
inline

Definition at line 3604 of file ArmnnSchema_generated.h.

Referenced by armnnSerializer::CreateFullyConnectedDescriptor().

3604  {
3605  const auto end = fbb_.EndTable(start_);
3606  auto o = flatbuffers::Offset<FullyConnectedDescriptor>(end);
3607  return o;
3608  }

◆ operator=()

Member Data Documentation

◆ fbb_

flatbuffers::FlatBufferBuilder& fbb_

Definition at line 3588 of file ArmnnSchema_generated.h.

◆ start_

flatbuffers::uoffset_t start_

Definition at line 3589 of file ArmnnSchema_generated.h.


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