ArmNN
 22.02
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 4056 of file ArmnnSchema_generated.h.

Member Typedef Documentation

◆ Table

typedef FullyConnectedDescriptor Table

Definition at line 4057 of file ArmnnSchema_generated.h.

Constructor & Destructor Documentation

◆ FullyConnectedDescriptorBuilder()

FullyConnectedDescriptorBuilder ( flatbuffers::FlatBufferBuilder &  _fbb)
inlineexplicit

Definition at line 4069 of file ArmnnSchema_generated.h.

4070  : fbb_(_fbb) {
4071  start_ = fbb_.StartTable();
4072  }

Member Function Documentation

◆ add_biasEnabled()

void add_biasEnabled ( bool  biasEnabled)
inline

Definition at line 4060 of file ArmnnSchema_generated.h.

References VT_BIASENABLED.

Referenced by armnnSerializer::CreateFullyConnectedDescriptor().

4060  {
4061  fbb_.AddElement<uint8_t>(FullyConnectedDescriptor::VT_BIASENABLED, static_cast<uint8_t>(biasEnabled), 0);
4062  }

◆ add_constantWeights()

void add_constantWeights ( bool  constantWeights)
inline

Definition at line 4066 of file ArmnnSchema_generated.h.

Referenced by armnnSerializer::CreateFullyConnectedDescriptor().

4066  {
4067  fbb_.AddElement<uint8_t>(FullyConnectedDescriptor::VT_CONSTANTWEIGHTS, static_cast<uint8_t>(constantWeights), 1);
4068  }

◆ add_transposeWeightsMatrix()

void add_transposeWeightsMatrix ( bool  transposeWeightsMatrix)
inline

Definition at line 4063 of file ArmnnSchema_generated.h.

References VT_TRANSPOSEWEIGHTSMATRIX.

Referenced by armnnSerializer::CreateFullyConnectedDescriptor().

4063  {
4064  fbb_.AddElement<uint8_t>(FullyConnectedDescriptor::VT_TRANSPOSEWEIGHTSMATRIX, static_cast<uint8_t>(transposeWeightsMatrix), 0);
4065  }
VT_TRANSPOSEWEIGHTSMATRIX

◆ Finish()

flatbuffers::Offset<FullyConnectedDescriptor> Finish ( )
inline

Definition at line 4074 of file ArmnnSchema_generated.h.

Referenced by armnnSerializer::CreateFullyConnectedDescriptor().

4074  {
4075  const auto end = fbb_.EndTable(start_);
4076  auto o = flatbuffers::Offset<FullyConnectedDescriptor>(end);
4077  return o;
4078  }

◆ operator=()

Member Data Documentation

◆ fbb_

flatbuffers::FlatBufferBuilder& fbb_

Definition at line 4058 of file ArmnnSchema_generated.h.

◆ start_

flatbuffers::uoffset_t start_

Definition at line 4059 of file ArmnnSchema_generated.h.


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