2 // Copyright © 2017 Arm Ltd. All rights reserved.
3 // SPDX-License-Identifier: MIT
8 #include <neon/workloads/NeonWorkloadUtils.hpp>
13 arm_compute::Status NeonDepthwiseConvolutionWorkloadValidate(const TensorInfo& input,
14 const TensorInfo& output,
15 const DepthwiseConvolution2dDescriptor& descriptor,
16 const TensorInfo& weights,
17 const Optional<TensorInfo>& biases);
19 class NeonDepthwiseConvolutionWorkload : public BaseWorkload<DepthwiseConvolution2dQueueDescriptor>
22 NeonDepthwiseConvolutionWorkload(const DepthwiseConvolution2dQueueDescriptor& descriptor,
23 const WorkloadInfo& info);
25 virtual void Execute() const override;
28 mutable std::unique_ptr<arm_compute::IFunction> m_pDepthwiseConvolutionLayer;
30 std::unique_ptr<arm_compute::Tensor> m_KernelTensor;
31 std::unique_ptr<arm_compute::Tensor> m_BiasTensor;
33 void FreeUnusedTensors();