ArmNN
 22.05.01
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 4069 of file ArmnnSchema_generated.h.

Member Typedef Documentation

◆ Table

typedef FullyConnectedDescriptor Table

Definition at line 4070 of file ArmnnSchema_generated.h.

Constructor & Destructor Documentation

◆ FullyConnectedDescriptorBuilder()

FullyConnectedDescriptorBuilder ( flatbuffers::FlatBufferBuilder &  _fbb)
inlineexplicit

Definition at line 4082 of file ArmnnSchema_generated.h.

4083  : fbb_(_fbb) {
4084  start_ = fbb_.StartTable();
4085  }

Member Function Documentation

◆ add_biasEnabled()

void add_biasEnabled ( bool  biasEnabled)
inline

Definition at line 4073 of file ArmnnSchema_generated.h.

References VT_BIASENABLED.

Referenced by armnnSerializer::CreateFullyConnectedDescriptor().

4073  {
4074  fbb_.AddElement<uint8_t>(FullyConnectedDescriptor::VT_BIASENABLED, static_cast<uint8_t>(biasEnabled), 0);
4075  }

◆ add_constantWeights()

void add_constantWeights ( bool  constantWeights)
inline

Definition at line 4079 of file ArmnnSchema_generated.h.

Referenced by armnnSerializer::CreateFullyConnectedDescriptor().

4079  {
4080  fbb_.AddElement<uint8_t>(FullyConnectedDescriptor::VT_CONSTANTWEIGHTS, static_cast<uint8_t>(constantWeights), 1);
4081  }

◆ add_transposeWeightsMatrix()

void add_transposeWeightsMatrix ( bool  transposeWeightsMatrix)
inline

Definition at line 4076 of file ArmnnSchema_generated.h.

References VT_TRANSPOSEWEIGHTSMATRIX.

Referenced by armnnSerializer::CreateFullyConnectedDescriptor().

4076  {
4077  fbb_.AddElement<uint8_t>(FullyConnectedDescriptor::VT_TRANSPOSEWEIGHTSMATRIX, static_cast<uint8_t>(transposeWeightsMatrix), 0);
4078  }
VT_TRANSPOSEWEIGHTSMATRIX

◆ Finish()

flatbuffers::Offset<FullyConnectedDescriptor> Finish ( )
inline

Definition at line 4087 of file ArmnnSchema_generated.h.

Referenced by armnnSerializer::CreateFullyConnectedDescriptor().

4087  {
4088  const auto end = fbb_.EndTable(start_);
4089  auto o = flatbuffers::Offset<FullyConnectedDescriptor>(end);
4090  return o;
4091  }

◆ operator=()

Member Data Documentation

◆ fbb_

flatbuffers::FlatBufferBuilder& fbb_

Definition at line 4071 of file ArmnnSchema_generated.h.

◆ start_

flatbuffers::uoffset_t start_

Definition at line 4072 of file ArmnnSchema_generated.h.


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