24.08
|
A FullyConnectedDescriptor for the FullyConnectedLayer. More...
#include <Descriptors.hpp>
Public Member Functions | |
FullyConnectedDescriptor () | |
bool | operator== (const FullyConnectedDescriptor &rhs) const |
uint32_t | GetNumInputs () const |
Get the number of inputs. More... | |
Public Member Functions inherited from BaseDescriptor | |
virtual bool | IsNull () const |
virtual | ~BaseDescriptor ()=default |
Public Attributes | |
bool | m_BiasEnabled |
Enable/disable bias. More... | |
bool | m_TransposeWeightMatrix |
Enable/disable transpose weight matrix. More... | |
bool | m_ConstantWeights |
Enable/disable constant weights and biases. More... | |
A FullyConnectedDescriptor for the FullyConnectedLayer.
Definition at line 507 of file Descriptors.hpp.
|
inline |
Definition at line 509 of file Descriptors.hpp.
uint32_t GetNumInputs | ( | ) | const |
Get the number of inputs.
Definition at line 475 of file Descriptors.cpp.
References armnn::GetNumInputs(), and FullyConnectedDescriptor::m_BiasEnabled.
Referenced by ClFullyConnectedWorkload::ClFullyConnectedWorkload(), and NeonFullyConnectedWorkload::NeonFullyConnectedWorkload().
|
inline |
Definition at line 515 of file Descriptors.hpp.
References FullyConnectedDescriptor::m_BiasEnabled, FullyConnectedDescriptor::m_ConstantWeights, and FullyConnectedDescriptor::m_TransposeWeightMatrix.
bool m_BiasEnabled |
Enable/disable bias.
Definition at line 526 of file Descriptors.hpp.
Referenced by ClFullyConnectedWorkload::ClFullyConnectedWorkload(), ConvertFullyConnectedToTosaOperator(), NeonFullyConnectedWorkload::Execute(), FullyConnectedDescriptor::GetNumInputs(), RefLayerSupport::IsFullyConnectedSupported(), LayerSupportHandle::IsFullyConnectedSupported(), FullyConnectedDescriptor::operator==(), NeonBackend::OptimizeSubgraphView(), ClBackend::OptimizeSubgraphView(), StringifyLayerParameters< FullyConnectedDescriptor >::Serialize(), and FullyConnectedQueueDescriptor::Validate().
bool m_ConstantWeights |
Enable/disable constant weights and biases.
Definition at line 530 of file Descriptors.hpp.
Referenced by LayerSupportHandle::IsFullyConnectedSupported(), FullyConnectedDescriptor::operator==(), and StringifyLayerParameters< FullyConnectedDescriptor >::Serialize().
bool m_TransposeWeightMatrix |
Enable/disable transpose weight matrix.
Definition at line 528 of file Descriptors.hpp.
Referenced by armnn::ConvertFullyConnectedDescriptorToAclFullyConnectedLayerInfo(), FullyConnectedLayer::InferOutputShapes(), FullyConnectedDescriptor::operator==(), and StringifyLayerParameters< FullyConnectedDescriptor >::Serialize().