blob: ece9f1877b3c11142e8162dd8d64a85acc1375c0 [file] [log] [blame]
telsoa014fcda012018-03-09 14:13:49 +00001//
2// Copyright © 2017 Arm Ltd. All rights reserved.
3// See LICENSE file in the project root for full license information.
4//
5
6#pragma once
7
8#include <backends/NeonWorkloadUtils.hpp>
9
10namespace armnn
11{
12
telsoa01c577f2c2018-08-31 09:22:23 +010013class NeonDepthwiseConvolutionFloat32Workload : public FloatWorkload<DepthwiseConvolution2dQueueDescriptor>
telsoa014fcda012018-03-09 14:13:49 +000014{
15public:
16 NeonDepthwiseConvolutionFloat32Workload(const DepthwiseConvolution2dQueueDescriptor& descriptor,
17 const WorkloadInfo& info);
18 virtual void Execute() const override;
19
20private:
21 mutable std::unique_ptr<arm_compute::IFunction> m_pDepthwiseConvolutionLayer;
22
telsoa01c577f2c2018-08-31 09:22:23 +010023 std::unique_ptr<arm_compute::Tensor> m_KernelTensor;
24 std::unique_ptr<arm_compute::Tensor> m_BiasTensor;
25
26 void FreeUnusedTensors();
telsoa014fcda012018-03-09 14:13:49 +000027};
28
29} //namespace armnn
30
31
32
33