ArmNN
 24.08
NeonConvolution3dWorkload.hpp
Go to the documentation of this file.
1 //
2 // Copyright © 2021 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 #include <arm_compute/runtime/MemoryManagerOnDemand.h>
13 
14 #include <memory>
15 
16 namespace armnn
17 {
18 
20  const TensorInfo& output,
21  const Convolution3dDescriptor& descriptor,
22  const TensorInfo& weights,
23  const Optional<TensorInfo>& biases,
24  bool isFastMathEnabled = false,
25  const ActivationDescriptor* activationDescriptor = nullptr);
26 
27 class NeonConvolution3dWorkload : public NeonBaseWorkload<Convolution3dQueueDescriptor>
28 {
29 public:
31 
33  const WorkloadInfo& info,
34  std::shared_ptr<arm_compute::MemoryManagerOnDemand>& memoryManager,
35  const bool isFastMathENabled = false);
36 
37  void Execute() const override;
38 
39 private:
40  std::unique_ptr<arm_compute::IFunction> m_ConvolutionLayer;
41 };
42 
43 } //namespace armnn
armnn::NeonConvolution3dWorkloadValidate
arm_compute::Status NeonConvolution3dWorkloadValidate(const TensorInfo &input, const TensorInfo &output, const Convolution3dDescriptor &descriptor, const TensorInfo &weights, const Optional< TensorInfo > &biases, bool isFastMathEnabled, const ActivationDescriptor *activationDescriptor)
Definition: NeonConvolution3dWorkload.cpp:24
NeonBaseWorkload.hpp
armnn::Convolution3dQueueDescriptor
Definition: WorkloadData.hpp:216
armnn::WorkloadInfo
Contains information about TensorInfos of a layer.
Definition: WorkloadInfo.hpp:16
armnn::BoostLogSeverityMapping::info
@ info
armnn::NeonConvolution3dWorkload::NeonConvolution3dWorkload
NeonConvolution3dWorkload(const Convolution3dQueueDescriptor &descriptor, const WorkloadInfo &info, std::shared_ptr< arm_compute::MemoryManagerOnDemand > &memoryManager, const bool isFastMathENabled=false)
Definition: NeonConvolution3dWorkload.cpp:60
armnn::BaseWorkload
Definition: Workload.hpp:33
armnn::NeonConvolution3dWorkload
Definition: NeonConvolution3dWorkload.hpp:27
armnn::Status
Status
Definition: Types.hpp:42
armnn
Copyright (c) 2021 ARM Limited and Contributors.
Definition: 01_00_quick_start.dox:6
armnn::NeonConvolution3dWorkload::Execute
void Execute() const override
Definition: NeonConvolution3dWorkload.cpp:111
armnn::NeonBaseWorkload
Definition: NeonBaseWorkload.hpp:13