39 std::vector<ITensorHandle*> outputs)
const
50 std::unique_ptr<Decoder<float>> biasDecoder{};
56 Convolve(inputShape, *inputDecoder, outputShape, *outputEncoder,
57 filterShape, *filterDecoder,
m_Data.m_Parameters.m_BiasEnabled, biasDecoder.get(),
58 m_Data.m_Parameters.m_DataLayout,
m_Data.m_Parameters.m_PadTop,
m_Data.m_Parameters.m_PadLeft,
59 m_Data.m_Parameters.m_StrideX,
m_Data.m_Parameters.m_StrideY,
60 m_Data.m_Parameters.m_DilationX,
61 m_Data.m_Parameters.m_DilationY,
true);
#define ARMNN_REPORT_PROFILING_WORKLOAD_DESC(name, desc, infos, guid)
#define ARMNN_SCOPED_PROFILING_EVENT_REF_NAME_GUID(label)
Creates a profiling event that uses GetGuid() and GetName() from the calling class.
DepthwiseConvolution2dQueueDescriptor m_Data
RefBaseWorkload(const DepthwiseConvolution2dQueueDescriptor &descriptor, const WorkloadInfo &info)
RefDepthwiseConvolution2dWorkload(const DepthwiseConvolution2dQueueDescriptor &descriptor, const WorkloadInfo &info)
void Execute() const override
const TensorShape & GetShape() const
Copyright (c) 2021 ARM Limited and Contributors.
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)
void Convolve(const TensorShape &rInputShape, Decoder< float > &rInputDecoder, const TensorShape &rOutputShape, Encoder< float > &rOutputEncoder, const TensorShape &rFilterShape, Decoder< float > &rFilterDecoder, bool biasEnabled, Decoder< float > *pBiasDecoder, DataLayout dataLayout, unsigned int paddingTop, unsigned int paddingLeft, unsigned int xStride, unsigned int yStride, unsigned int xDilation, unsigned int yDilation, bool depthwise)
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_BiasEnabled
Enable/disable bias.
Depthwise Convolution 2D layer workload data.
LayerDescriptor m_Parameters
Contains information about TensorInfos of a layer.
std::vector< TensorInfo > m_OutputTensorInfos
std::vector< TensorInfo > m_InputTensorInfos