22.05
|
A FullyConnectedDescriptor for the FullyConnectedLayer. More...
#include <Descriptors.hpp>
Public Member Functions | |
FullyConnectedDescriptor () | |
bool | operator== (const FullyConnectedDescriptor &rhs) const |
uint32_t | GetNumViews () const |
Get the number of views/inputs. More... | |
uint32_t | GetNumInputs () const |
Get the number of views/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 468 of file Descriptors.hpp.
|
inline |
Definition at line 470 of file Descriptors.hpp.
uint32_t GetNumInputs | ( | ) | const |
Get the number of views/inputs.
Definition at line 448 of file Descriptors.cpp.
References armnn::GetNumInputs().
Referenced by NetworkImpl::AddFullyConnectedLayer(), ClFullyConnectedWorkload::ClFullyConnectedWorkload(), and armnnDeserializer::GetOriginsDescriptor().
uint32_t GetNumViews | ( | ) | const |
Get the number of views/inputs.
Definition at line 453 of file Descriptors.cpp.
References armnn::GetNumInputs().
|
inline |
Definition at line 476 of file Descriptors.hpp.
References armnn::ARMNN_DEPRECATED_MSG_REMOVAL_DATE(), armnn::GetNumInputs(), FullyConnectedDescriptor::m_BiasEnabled, FullyConnectedDescriptor::m_ConstantWeights, and FullyConnectedDescriptor::m_TransposeWeightMatrix.
bool m_BiasEnabled |
Enable/disable bias.
Definition at line 491 of file Descriptors.hpp.
Referenced by NetworkImpl::AddFullyConnectedLayer(), TestFullyConnectedLayerVistor::CheckDescriptor(), ClFullyConnectedWorkload::ClFullyConnectedWorkload(), OnnxParserImpl::CreateNetworkFromString(), FullyConnectedLayer::CreateWorkload(), RefFullyConnectedWorkload::ExecuteAsync(), armnnSerializer::GetFlatBufferArgMinMaxFunction(), armnnDeserializer::GetOriginsDescriptor(), RefLayerSupport::IsFullyConnectedSupported(), LayerSupportHandle::IsFullyConnectedSupported(), FullyConnectedDescriptor::operator==(), TfLiteParserImpl::OutputShapeOfReshape(), StringifyLayerParameters< FullyConnectedDescriptor >::Serialize(), TEST_SUITE(), and armnn::TEST_SUITE().
bool m_ConstantWeights |
Enable/disable constant weights and biases.
Definition at line 495 of file Descriptors.hpp.
Referenced by NetworkImpl::AddFullyConnectedLayer(), armnnSerializer::GetFlatBufferArgMinMaxFunction(), armnnDeserializer::GetOriginsDescriptor(), LayerSupportHandle::IsFullyConnectedSupported(), FullyConnectedDescriptor::operator==(), TfLiteParserImpl::OutputShapeOfReshape(), TEST_SUITE(), and armnn::TEST_SUITE().
bool m_TransposeWeightMatrix |
Enable/disable transpose weight matrix.
Definition at line 493 of file Descriptors.hpp.
Referenced by TestFullyConnectedLayerVistor::CheckDescriptor(), armnn::ConvertFullyConnectedDescriptorToAclFullyConnectedLayerInfo(), OnnxParserImpl::CreateNetworkFromString(), RefFullyConnectedWorkload::ExecuteAsync(), armnnSerializer::GetFlatBufferArgMinMaxFunction(), armnnDeserializer::GetOriginsDescriptor(), FullyConnectedLayer::InferOutputShapes(), FullyConnectedDescriptor::operator==(), TfLiteParserImpl::OutputShapeOfReshape(), StringifyLayerParameters< FullyConnectedDescriptor >::Serialize(), TEST_SUITE(), and armnn::TEST_SUITE().