2 // Copyright © 2017 Arm Ltd. All rights reserved.
3 // See LICENSE file in the project root for full license information.
8 #include "backends/ClWorkloadUtils.hpp"
13 arm_compute::Status ClDepthwiseConvolutionWorkloadValidate(const TensorInfo& input,
14 const TensorInfo& output,
15 const DepthwiseConvolution2dDescriptor& descriptor,
16 const TensorInfo& weights,
17 const TensorInfo& biases);
19 template<armnn::DataType... dataTypes>
20 class ClDepthwiseConvolutionBaseWorkload : public TypedWorkload<DepthwiseConvolution2dQueueDescriptor, dataTypes...>
23 using TypedWorkload<DepthwiseConvolution2dQueueDescriptor, dataTypes...>::m_Data;
25 ClDepthwiseConvolutionBaseWorkload(const DepthwiseConvolution2dQueueDescriptor& descriptor,
26 const WorkloadInfo& info);
29 std::unique_ptr<arm_compute::IFunction> m_DepthwiseConvolutionLayer;
31 std::unique_ptr<arm_compute::CLTensor> m_KernelTensor;
32 std::unique_ptr<arm_compute::CLTensor> m_BiasTensor;
34 void FreeUnusedTensors();