ArmNN
 21.11
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 4040 of file ArmnnSchema_generated.h.

Member Typedef Documentation

◆ Table

typedef FullyConnectedDescriptor Table

Definition at line 4041 of file ArmnnSchema_generated.h.

Constructor & Destructor Documentation

◆ FullyConnectedDescriptorBuilder()

FullyConnectedDescriptorBuilder ( flatbuffers::FlatBufferBuilder &  _fbb)
inlineexplicit

Definition at line 4053 of file ArmnnSchema_generated.h.

4054  : fbb_(_fbb) {
4055  start_ = fbb_.StartTable();
4056  }

Member Function Documentation

◆ add_biasEnabled()

void add_biasEnabled ( bool  biasEnabled)
inline

Definition at line 4044 of file ArmnnSchema_generated.h.

References VT_BIASENABLED.

Referenced by armnnSerializer::CreateFullyConnectedDescriptor().

4044  {
4045  fbb_.AddElement<uint8_t>(FullyConnectedDescriptor::VT_BIASENABLED, static_cast<uint8_t>(biasEnabled), 0);
4046  }

◆ add_constantWeights()

void add_constantWeights ( bool  constantWeights)
inline

Definition at line 4050 of file ArmnnSchema_generated.h.

Referenced by armnnSerializer::CreateFullyConnectedDescriptor().

4050  {
4051  fbb_.AddElement<uint8_t>(FullyConnectedDescriptor::VT_CONSTANTWEIGHTS, static_cast<uint8_t>(constantWeights), 1);
4052  }

◆ add_transposeWeightsMatrix()

void add_transposeWeightsMatrix ( bool  transposeWeightsMatrix)
inline

Definition at line 4047 of file ArmnnSchema_generated.h.

References VT_TRANSPOSEWEIGHTSMATRIX.

Referenced by armnnSerializer::CreateFullyConnectedDescriptor().

4047  {
4048  fbb_.AddElement<uint8_t>(FullyConnectedDescriptor::VT_TRANSPOSEWEIGHTSMATRIX, static_cast<uint8_t>(transposeWeightsMatrix), 0);
4049  }
VT_TRANSPOSEWEIGHTSMATRIX

◆ Finish()

flatbuffers::Offset<FullyConnectedDescriptor> Finish ( )
inline

Definition at line 4058 of file ArmnnSchema_generated.h.

Referenced by armnnSerializer::CreateFullyConnectedDescriptor().

4058  {
4059  const auto end = fbb_.EndTable(start_);
4060  auto o = flatbuffers::Offset<FullyConnectedDescriptor>(end);
4061  return o;
4062  }

◆ operator=()

Member Data Documentation

◆ fbb_

flatbuffers::FlatBufferBuilder& fbb_

Definition at line 4042 of file ArmnnSchema_generated.h.

◆ start_

flatbuffers::uoffset_t start_

Definition at line 4043 of file ArmnnSchema_generated.h.


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