18 unsigned int numActivations = 1;
21 numActivations *= inputInfo.
GetShape()[i];
23 return numActivations;
30 , m_InputShape(
info.m_InputTensorInfos[0].GetShape())
31 , m_WeightShape(
info.m_InputTensorInfos[1].GetShape())
32 , m_OutputShape(
info.m_OutputTensorInfos[0].GetShape())
50 std::unique_ptr<Decoder<float>> biasDecoder;
#define ARMNN_SCOPED_PROFILING_EVENT_REF_NAME_GUID(label)
Creates a profiling event that uses GetGuid() and GetName() from the calling class.
FullyConnectedQueueDescriptor m_Data
RefBaseWorkload(const FullyConnectedQueueDescriptor &descriptor, const WorkloadInfo &info)
RefFullyConnectedWorkload(const FullyConnectedQueueDescriptor &descriptor, const WorkloadInfo &info)
void Execute() const override
const TensorShape & GetShape() const
unsigned int GetNumDimensions() const
Copyright (c) 2021 ARM Limited and Contributors.
unsigned int GetNumActivations(const TensorInfo &inputInfo)
std::unique_ptr< Decoder< T > > MakeDecoder(const TensorInfo &info, const void *data=nullptr)
std::unique_ptr< Encoder< T > > MakeEncoder(const TensorInfo &info, void *data=nullptr)
armnn::TensorInfo GetTensorInfo(unsigned int numberOfBatches, unsigned int numberOfChannels, unsigned int height, unsigned int width, const armnn::DataLayout dataLayout, const armnn::DataType dataType)
bool m_TransposeWeightMatrix
Enable/disable transpose weight matrix.
bool m_BiasEnabled
Enable/disable bias.
LayerDescriptor m_Parameters
Contains information about TensorInfos of a layer.