ArmNN
 24.02
NeonDepthwiseConvolutionWorkload.hpp
Go to the documentation of this file.
1 //
2 // Copyright © 2017 Arm Ltd and Contributors. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 
6 #pragma once
7 
8 #include "NeonBaseWorkload.hpp"
9 
10 #include <arm_compute/runtime/IFunction.h>
11 #include <arm_compute/runtime/Tensor.h>
12 
13 #include <memory>
14 
15 namespace armnn
16 {
17 
19  const TensorInfo& output,
20  const DepthwiseConvolution2dDescriptor& descriptor,
21  const TensorInfo& weights,
22  const Optional<TensorInfo>& biases,
23  const ActivationDescriptor* activationDescriptor
24  = nullptr);
25 
26 class NeonDepthwiseConvolutionWorkload : public NeonBaseWorkload<DepthwiseConvolution2dQueueDescriptor>
27 {
28 public:
30  const WorkloadInfo& info);
31 
32  virtual void Execute() const override;
33 
34 private:
35  mutable std::unique_ptr<arm_compute::IFunction> m_pDepthwiseConvolutionLayer;
36 };
37 
38 } // namespace armnn
armnn::NeonDepthwiseConvolutionWorkload::Execute
virtual void Execute() const override
Definition: NeonDepthwiseConvolutionWorkload.cpp:154
armnn::NeonDepthwiseConvolutionWorkload::NeonDepthwiseConvolutionWorkload
NeonDepthwiseConvolutionWorkload(const DepthwiseConvolution2dQueueDescriptor &descriptor, const WorkloadInfo &info)
Definition: NeonDepthwiseConvolutionWorkload.cpp:87
NeonBaseWorkload.hpp
armnn::WorkloadInfo
Contains information about TensorInfos of a layer.
Definition: WorkloadInfo.hpp:16
armnn::NeonDepthwiseConvolutionWorkloadValidate
arm_compute::Status NeonDepthwiseConvolutionWorkloadValidate(const TensorInfo &input, const TensorInfo &output, const DepthwiseConvolution2dDescriptor &descriptor, const TensorInfo &weights, const Optional< TensorInfo > &biases, const ActivationDescriptor *activationDescriptor)
Definition: NeonDepthwiseConvolutionWorkload.cpp:29
armnn::BoostLogSeverityMapping::info
@ info
armnn::DepthwiseConvolution2dQueueDescriptor
Depthwise Convolution 2D layer workload data.
Definition: WorkloadData.hpp:234
armnn::Status
Status
Definition: Types.hpp:42
armnn
Copyright (c) 2021 ARM Limited and Contributors.
Definition: 01_00_quick_start.dox:6
armnn::NeonDepthwiseConvolutionWorkload
Definition: NeonDepthwiseConvolutionWorkload.hpp:26
armnn::NeonBaseWorkload
Definition: NeonBaseWorkload.hpp:13